|
|
|
|
|
by einpoklum
1117 days ago
|
|
Granted, std::pmr::vector has its place... but - PMR allocators also have that weird fixation on types, which they should not; plus, dynamic allocation is expensive. It's particularly expensive to let your containers do reallocation willy-nilly on their own. I'd go with `std::array`, if I wanted something dynamic - a dynarray (which the standard doesn't even have). |
|