/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Day 17 -- a bunch more tools join the table :) #blender3d #screenshotsaturday #itssaturdaysomewhere #lowpoly #3D https://t.co/CYJucn0Lfv
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Using custom allocaters for STL

4: Adsense

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   

1173
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?

#2 ApochPiQ   Moderators   

22197
Like
1Likes
Like

Posted 03 May 2013 - 08:37 PM

Just use the template parameter. That's what it's for.
Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]




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.