std.allocator needs your help

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Sep 24 15:39:26 PDT 2013


On 9/24/13 3:11 PM, Namespace wrote:
>> I would rather want new to be overloadable and have 2 sets of parameters
>>
>> new (allocator)(arg1, arg2)
>>
>> Where "allocator" would go to the overloaded version of new and "arg1"
>> and "arg2" will be passed to the constructor.
>
> +1

We're banning that syntax of new.

Andrei


More information about the Digitalmars-d mailing list