Re:Sane C++ Libraries
by markisus on Sunday January 28, 2024 @12:05AM
(#39162766)
In my example, the T is one specific type. So you could have std::vector<Cat>. If you also have Dogs, you just make another vector std::vector<Dog>. It works fine with the standard allocator. You don't have to do anything special.
[ Parent
| on HN ]