A few thoughts on std.allocator

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon May 11 09:25:39 PDT 2015


On 5/11/15 9:14 AM, Dicebot wrote:
> On Monday, 11 May 2015 at 15:45:38 UTC, Andrei Alexandrescu wrote:
>>   /// The caller is a pure function, so result may be immutable
>>   fromPureFunction,
>
> It should simply say that allocation pointer is unique, the fact that it
> comes from pure functions is not important on its own. It should be
> legal to allocate such chunks from other sources too.

Much clearer, thanks. -- Andrei



More information about the Digitalmars-d mailing list