Jump to content

  • Log In with Google      Sign In   
  • Create Account


Using custom allocaters for STL


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 3DModelerMan   Members   -  Reputation: 935

Like
0Likes
Like

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?

Sponsor:

#2 ApochPiQ   Moderators   -  Reputation: 14256

Like
1Likes
Like

Posted 03 May 2013 - 08:37 PM

Just use the template parameter. That's what it's for.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS