Why was new(size_t s) { } deprecated in favor of an external allocator?
Paul Backus
snarwin at gmail.com
Thu Oct 15 10:00:45 UTC 2020
On Thursday, 15 October 2020 at 06:39:00 UTC, Patrick Schluter
wrote:
> On Wednesday, 14 October 2020 at 20:32:51 UTC, Max Haughton
> wrote:
>> On Wednesday, 14 October 2020 at 20:27:10 UTC, Jack wrote:
>>> What was the reasoning behind this decision?
>>
>> Andrei's std::allocator talk from a few years ago at cppcon
>> covers this (amongst other things)
>
> Yes, and what did he say?
> You seriously don't expect people to search for a random talk
> from a random event from a random year?
It's quite easy to find on youtube. First result searching for
"andrei std allocator":
https://www.youtube.com/watch?v=LIb3L4vKZ7U
The slides are also available here:
https://raw.githubusercontent.com/CppCon/CppCon2015/master/Presentations/allocator%20Is%20to%20Allocation%20what%20vector%20Is%20to%20Vexation/allocator%20Is%20to%20Allocation%20what%20vector%20Is%20to%20Vexation%20-%20Andrei%20Alexandrescu%20-%20CppCon%202015.pdf
More information about the Digitalmars-d-learn
mailing list