Hacker News
new
past
comments
ask
show
jobs
points
by
lefra
18 hours ago
|
comments
by
kllrnohj
17 hours ago
|
[-]
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.
reply