Re: [OT] Re: UDA and trait for non-GC managed pointers

2016-10-16 Thread Nick Sabalausky via Digitalmars-d
On 10/15/2016 02:50 PM, Basile B. wrote: I've given up with the idea of proposing my stuff in phobos. About memory there would also have be: - allocators-based factory (https://github.com/dlang/phobos/pull/4062) - @nogc dispose (https://github.com/dlang/phobos/pull/4351) But each time the PR

[OT] Re: UDA and trait for non-GC managed pointers

2016-10-16 Thread Basile B. via Digitalmars-d
On Saturday, 15 October 2016 at 18:03:54 UTC, Nordlöw wrote: On Saturday, 15 October 2016 at 17:48:13 UTC, Basile B. wrote: To be honest I find this system way more useful that the function attribute @nogc. My trait is here (https://github.com/BBasile/iz/blob/master/import/iz/memory.d#L145)