STL in 2009?
by Alain Labrie · in Torque Game Builder · 04/21/2009 (5:53 pm) · 7 replies
Since STL now works out-of-the-box in TGEA, are there any plans to include it in TGB in the near futur? I wrote some C++ code that I would like to incorporate in my game but it uses STL heavily.
About the author
#2
04/26/2009 (9:07 am)
I thought Torque 2D = T2D = TGB? I did not know GG was working on a new 2d engine. I guess it will be based on T3D?
#3
04/26/2009 (9:10 am)
When you say "STL", are you referring to the Standard Template Library? If so, why would you expect GG to include it in any of their products? It's called Standard for a reason - your compiler vendor should have already included it. Many of them even include TR1 headers.
#4
@Alain - Take a look at this resource. In that resource we discuss how to make TGE play nicely with STL. I think the solution for TGB is exactly the same. If you still have problems with it, post here again and I'll take a closer look at it.
What version of TGB are you using?
04/26/2009 (9:44 am)
@Sherman - He doesn't expect GG to include it in their product. He is asking if GG has any plans in making TGB compatible with STL because it's not.... at least not without making some minor changes.@Alain - Take a look at this resource. In that resource we discuss how to make TGE play nicely with STL. I think the solution for TGB is exactly the same. If you still have problems with it, post here again and I'll take a closer look at it.
What version of TGB are you using?
#5
04/26/2009 (10:40 am)
STL works in TGEA because we removed the memory manager. Remove the memory manager from TGB and STL will work in it too.
#7
@Sherman - Tony is right, I was asking if GG was going to make TGB compatible with STL... The incompatibility stems from GG's redefinition of the "new" operator.
@Alex - I didn't know that GG had removed the memory manager from TGEA.
04/26/2009 (2:15 pm)
@Tony - Thanks but, I was trying to keep the memory manager intact since it might come in handy when I port to ITGB... @Sherman - Tony is right, I was asking if GG was going to make TGB compatible with STL... The incompatibility stems from GG's redefinition of the "new" operator.
@Alex - I didn't know that GG had removed the memory manager from TGEA.
Torque Owner David Janssens
Nebulagame.com