We're using STLPORT and we'd like to change stlport's default allocator: instead of vector<int&开发者_开发知识库gt;, we'd like to try vector<int, otherallocator>
Which alternative allocator are available in stlport, and what are their features? How do I use them?
Take a look here for switching the default allocator. I think you'll find the available allocator implementations are under include/stlport/stl/
in your installation.
That said, it's a standard interface and you can implement your own.
精彩评论