A few thoughts on std.allocator
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 12 08:05:17 PDT 2015
On 5/12/15 6:12 AM, Peter Alexander wrote:
> Would it be better to name these after their interpretation, rather than
> expected use cases? For example, the allocator doesn't care if something
> is an array, it cares about resizing, and large block allocations.
> Perhaps s/array/expectRealloc/ (as an example). Similar for other ones.
Yah, "resizable" is nice and self-explanatory. Thanks! -- Andrei
More information about the Digitalmars-d
mailing list