Jump to content
  • Advertisement
Sign in to follow this  
blinky41

C++STL

This topic is 4086 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
It's a mess in Visual Studio 6, whatever that compiler is called. But it should be fine on all modern compilers.

Which are you thinking of using?

Share this post


Link to post
Share on other sites
The C++ Standard Library is available in all standards-compliant C++ compilers, more or less by definition. Note that, as alluded to by Dave, Visual Studio 6 is not a standard-compliant compiler.

Share this post


Link to post
Share on other sites
Quote:
Original post by blinky41
What about on the Xbox 360 or PS3?

Huh? What exactly are you asking? Neither of those are C++ compilers. But there are C++ compilers available for those platforms, and if they are standards-compliant, then they support STL by definition. I'm not sure if that answers your question, since I'm not entirely sure what your question was, but such as it is. [smile]

Share this post


Link to post
Share on other sites
Microsoft's bundled implementation of the C++SL works fairly well on both the Xbox and the 360. Note that you may wish to write custom allocators for STL containers to help alleviate certain classes of performance problems.

Share this post


Link to post
Share on other sites
Please note that "the STL" is not an appropriate term to apply here. We are talking about the C++ standard library. Being the standard library, it stands to reason that any standards-compliant compiler will provide it.

The STL both includes things that are not in the C++ standard library (such as the function iota(), which fills a container with elements in arithmetic sequence with a difference of 1), and omits (many) things which are in the C++ standard library (for example, all the stream libraries - the STL is concerned with *only* containers and algorithms).

Share this post


Link to post
Share on other sites
I use the STL as in STandard Library. Its use is so widespread you should probably just let it go, Zahlman.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!