Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


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: 1071

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: 16414

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