Boost logo

Boost :

Subject: Re: [boost] Boost.Logging 1.51 Using VS2012.
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2013-01-08 18:21:30


[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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk