I have made a discovery

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 18 22:05:52 PDT 2015


On 4/18/15 5:50 PM, weaselcat wrote:
> On Sunday, 19 April 2015 at 00:39:03 UTC, ketmar wrote:
>> On Sun, 19 Apr 2015 12:29:45 +1200, Rikki Cattermole wrote:
>>
>>> Awesome! Although we may need to "undeprecate" that feature.
>>
>> as it is not generating deprecation warning now, it should be fairly
>> easy: just reintroduce it into specs. i can see why it was deprecated in
>> the first place, but it's much easier to simply write "new Exception"
>> instead of "allocateWithMyCoolScheme!Exception".
>
> maybe I'm dumb in asking this, but if there was already an API for
> allocators in D... why is a std.allocator not being written ontop of it?
> it seems much more elegant to begin with.

Nah, it's not. -- Andrei


More information about the Digitalmars-d mailing list