Sign in to follow this  

stdext::hash_map vc8

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

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

This topic is 4273 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this