Skip to main content
gamedev.net
🔒 Locked

stdext::hash_map vc8

Started by Leadorn Apr 2, 2006 at 4:43 AM 4 replies 2k views
Original Post
Leadorn
Leadorn
Hello Why is hash_map moved to namespace stdext in visual studio 2005?
Leadorn
Leadorn
http://msdn2.microsoft.com/en-US/library/ek139e86(VS.80).aspx

since when did they start to care :)
davepermen
davepermen
quite some time, actually.. :D
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
python_regious
python_regious
Yeah, that confused the hell out of me when all my code broke converting from VS7 to 8. Makes sense though.
If at first you don't succeed, redefine success.
owl
owl
Quote:
Original post by python_regious
Yeah, that confused the hell out of me when all my code broke converting from VS7 to 8. Makes sense though.


Sadly, it always makes sense when it becomes a big problem for everyone else.
Didn't anybody at Microsoft know that it wasn't part of the standard in the first place?
[size="2"]I like the Walrus best.
Conner McCloud
Conner McCloud
Quote:
Original post by owl
Quote:
Original post by python_regious
Yeah, that confused the hell out of me when all my code broke converting from VS7 to 8. Makes sense though.


Sadly, it always makes sense when it becomes a big problem for everyone else.
Didn't anybody at Microsoft know that it wasn't part of the standard in the first place?

Microsoft knew a lot of things weren't part of the standard in the first place, and did them anyhow. At some point, you have to admit that you fucked up in the past and do the right thing from there on. In this case, moving those non-standard structures into non-standard namespaces is the right thing to do.

That said, MS provides a flag to move them back into std::. So if your code breaks and you don't want to fix it, just enable MS extensions and disable the resulting warning. Problem solved.

CM

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.