Home Dashboard Directory Help

Regression involving global operator !=() and std::vector by mcmccarty


 as Fixed Help for as Fixed

Sign in
to vote
Type: Bug
ID: 731692
Opened: 3/16/2012 3:22:58 PM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
User(s) can reproduce this bug


See description and example here: http://stackoverflow.com/questions/9728693/is-this-a-vc2010-compiler-bug
Sign in to post a comment.
Posted by Microsoft on 3/19/2012 at 10:54 AM
Thank you for reporting this issue to Microsoft. We're pleased to say that this has already been fixed in the next release of the compiler.

Tanveer Gani
Visual C++ Team.
Posted by MS-Moderator10 [Feedback Moderator] on 3/18/2012 at 10:58 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 3/16/2012 at 3:52 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by mcmccarty on 3/16/2012 at 3:27 PM
FWIW, I logged this just in case it exposes a latent bug in compiler's ADL logic, not because I think this is an important use case.
Sign in to post a workaround.
Posted by mcmccarty on 3/16/2012 at 3:25 PM
Don't define a global templated operator !=() in the first place.

If nothing else:

#include <utility>
using namespace std::rel_ops;