Immutability and other attributes, please review
Roman D. Boiko
rb at d-coding.com
Thu Jun 14 11:03:09 PDT 2012
On Thursday, 14 June 2012 at 18:01:06 UTC, Jonathan M Davis wrote:
>> I think make new would be more self-explanatory. Ptr doesn't
>> imply heap.
>> Other then this, it looks useful.
>> (I'd love to see an optional allocator parameter... but have
>> to wait I
>> guess)
>
> Well, we use make with std.container already for essentially
> the same thing,
> only it's specifically for containers.
>
> - Jonathan M Davis
Dmitry probably suggested makeNew(...)
More information about the Digitalmars-d-learn
mailing list