It can be cumbersome to define STL containers with scalable or cache_aligned allocators over and over. So, I have contributed some more code from YetiSim which wraps standard STL containers with appropriate allocators.
For example, to define an STL vector you can do:
When you have to write a lot of these, it becomes less cumbersome to remember this convention than to write out allocator arguments.
You can get the code from here: