
On Sat, Oct 29, 2011 at 5:12 PM, Daniel James <dnljms@gmail.com> wrote:
On Saturday, 29 October 2011, Johan Lindvall wrote:
After trying out beta 1, I am seeing some failures with unordered containers, see attached file.
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
The code compiles without problems under 1.47.0.
Unfortunately, I cannot yet publish the source code that triggers this problem.
Can you try something? Look in boost/unordered/detail/allocator_helpers.hpp for the line:
#if !defined(BOOST_NO_SFINAE_EXPR) || BOOST_WORKAROUND(BOOST_MSVC, >= 1500)
and change it to:
#if !defined(BOOST_NO_SFINAE_EXPR)
Unordered uses a bit of a hack on Visual C++ to implement some of the C++11 functionality. That change disables it and uses the less capable fallback implementation (which is actually a lot better now than it originally was, so using a hack seems less appealing).
Thankyou - yes, that solved the problem. The code now compiles as before. -- /Johan.