
On Sat, Oct 29, 2011 at 6:09 PM, Johan Lindvall <johan.lindvall@gmail.com> wrote:
On Sat, Oct 29, 2011 at 5:12 PM, Daniel James <dnljms@gmail.com> wrote: 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.
It would be great if this fix could be rolled into 1.48. Thanks, -- /Johan.