This special case doesn't seem to apply to the latest Visual C++.

[SVN r86365]
This commit is contained in:
Daniel James
2013-10-19 16:53:37 +00:00
parent 033a611f71
commit 3922d1bb63

View File

@ -374,7 +374,7 @@ namespace unnecessary_copy_tests
// COPY_COUNT(1) would be okay here.
reset();
x.emplace();
# if BOOST_WORKAROUND(BOOST_MSVC, >= 1700)
# if BOOST_WORKAROUND(BOOST_MSVC, == 1700)
// This is a little odd, Visual C++ 11 seems to move the pair, which
// results in one copy (for the const key) and one move (for the
// non-const mapped value). Since 'emplace(boost::move(a))' (see below)