On Thursday, 5 October 2017 at 11:35:30 UTC, Nordlöw wrote:
Would it be possible to set up a mapping (either formal or informal) of each typical container (such as array, linked-list etc) plus element type to a suitable default allocator? And perhaps add this to the documentation of `std.experimental.allocator`?

To clarify I'm saying that, D's "design by introspection" could help out here.

I currently get the feeling that most programmers have no idea at all what allocator to choose for each given combination of container and element type they want to use.

Of course, I still think that `std.experimental.allocator` is one of Phobos' most brilliant modules, Andrei.

Reply via email to