
8 Jan
2013
8 Jan
'13
11:21 p.m.
[syvyi]
my application which was successfully compiled on VS2010 brings the next errors using VS2012
Unlike VS 2010, VS 2012's std::pair follows C++11's requirements precisely. In particular, A must be implicitly convertible to X and B must be implicitly convertible to Y in order for pair<A, B> to be implicitly convertible to pair<X, Y>. It appears that you have types that are explicitly convertible, but not implicitly convertible. You should probably provide a self-contained test case, so a Boost developer can figure out whether this is a bug in your code or in Boost. Stephan T. Lavavej Visual C++ Libraries Developer