On Sunday, 9 April 2017 at 19:04:22 UTC, mogu wrote:
On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote:Using std.experimental.allocator? Tired of writing `scope(exit) allocator.dispose(foo);` in a language with RAII? Me too:[...]Nice!Should UniqueArray be implemented as a overloaded version of Unique? Unique!(Object) instead of UniqueArray!(Object).
I started like that, but after many a `static if` realised they had very little in common.