Using custom allocaters for STL
1 reply to this topic
Members - Reputation: 1165
Posted 03 May 2013 - 06:30 PM
I was going to write a custom array and string class to use with my memory allocaters, but after a few hours of that I decided it was counter productive and STL is the way to go. Would it be better to use the custom allocater class that wraps my allocation system and use it directly with the template argument? Or to also wrap the STL classes themselves and abstract the allocater away from the public interface?