Jump to content
  • Advertisement
Sign in to follow this  
Matt Green

On the benefits of using a checked STL implementation

This topic is 4638 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

Another one of the new features of VS2005 is a checked STL implementation. Iterators and containers now perform bounds and sanity checking before and after use to determine improper usage. Despite using the STL regularly for three years, it highlighted two very silly mistakes that I would have otherwise missed on VS2003. Do yourself a favor and get decent code coverage under a checked STL implementation. The results may surprise you - and prevent a mysterious crash further down the road.

Share this post


Link to post
Share on other sites
Advertisement
So it does, awesome. From my simple test, the diagnostics are fairly useful as well.

Of course, that means that debug builds will be even more slow than they were before, which means people will be even more likely to naively discard the standard library as too slow without proper testing.

CM

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!