logoalt Hacker News

kllrnohjyesterday at 4:09 PM0 repliesview on HN

std::allocator was so painful to use it was almost always easier to just reimplement the container instead (especially for trivial ones like vector).

I haven't used the relatively new C++17 polymorphic_allocator, though, maybe it fixes this.