On 9/24/13 6:42 PM, deadalnix wrote:
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.
It seem to me like typed allocator should try to fit in rather than
redefine everything.
The banning is orthogonal to allocators.
Andrei