automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

Martin Nowak via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Apr 11 05:46:03 PDT 2017


On Tuesday, 11 April 2017 at 10:24:08 UTC, Nicholas Wilson wrote:
> In LDC we have an attribute for that `allocSize` 
> (https://github.com/ldc-developers/druntime/blob/ldc/src/ldc/attributes.d#L16)
>
> perhaps this attribute should be used across compilers and be 
> in druntime?

Nice, if pure required strong purity, it would be quite a huge 
hack, so a specific attribute seems friendlier.



More information about the Digitalmars-d-announce mailing list