Newsgroups: comp.lang.c++.moderated
From: "Michi" <mi...@zeroc.com>
Date: 17 Nov 2005 19:06:43 -0500
Local: Thurs, Nov 17 2005 7:06 pm
Subject: Visual Studio 8 deprecates functions in ::std :-(
Visual Studio 8 has introduced some interesting warnings. For example,
the expression ::std::equal(m.begin(), m.end(), p) raises the following warning: C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2674) : Wow. Thanks a lot. The same thing happens for a whole raft of other Note the interesting wording: 'std::_equal' was declared deprecated. I The work-around is not pretty either. You have to basically redefine namespace PortabilityHacks } The fact that unchecked_equal() isn't documented doesn't help either. (Although, to be fair, some of the other "deprecated" templates do have documentation for the checked and unchecked versions in the stdext namespace.) Having written the workaround, I can go and add the PortabilityHacks I can disable the warning by setting the warning level to 4, but that If this misfeature is the Visual C++ team's idea of standard Michi. [ See http://www.gotw.ca/resources/clcm.htm for info about ] You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||