[r/cpp] Why I am not happy with C++17

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 8 14:01:53 PST 2016


On Tuesday, 8 March 2016 at 21:32:28 UTC, Andrei Alexandrescu 
wrote:
> Again people discuss the GC in D. -- Andrei

Well, but the non-GC D example someone provided did not look like 
good advertising vs C++ either:

alias Allocator = AllocatorList!(a => Region!Mallocator(1024 * 
16), Mallocator);

//…

   Allocator allocator;
   auto c = Container!(int, typeof(&allocator))(&allocator);




More information about the Digitalmars-d mailing list