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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.