std.allocator needs your help
Namespace
rswhite4 at googlemail.com
Wed Sep 25 01:22:26 PDT 2013
On Tuesday, 24 September 2013 at 22:39:27 UTC, Andrei
Alexandrescu wrote:
> 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
What's wrong with this syntax?
And: *That* syntax or complete 'new' as built-in feature?
More information about the Digitalmars-d
mailing list