views:

172

answers:

1

We're using STLPORT and we'd like to change stlport's default allocator: instead of vector<int>, 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?

A: 

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.

Nikolai N Fetissov