New tuple implementation

Adjusts to use less arguments on Visual C++ 11, which will hopefully fix
it on that compiler. Also changed to be a little less preprocessor
heavy. I'm not sure about the __SUNPRO_CC support, hopefully recent
versions of that compiler will have better support, and can use the
normal implementation. Will check that later.
This commit is contained in:
Daniel James
2017-04-22 18:27:49 +01:00
parent 1e491533fa
commit 3117611a55
2 changed files with 85 additions and 68 deletions

View File

@@ -501,7 +501,7 @@ UNORDERED_AUTO_TEST(unnecessary_copy_emplace_map_test)
COPY_COUNT(0);
MOVE_COUNT(0);
#if BOOST_UNORDERED_HAS_STD_TUPLE
#if BOOST_UNORDERED_TUPLE_ARGS
reset();
x.emplace(boost::unordered::piecewise_construct,