forked from boostorg/container
Change forward_as_tuple to forward_as_tuple_impl as there are ambiguities when std headers are included. It's is used only in the pair test
This commit is contained in:
+2
-2
@@ -140,8 +140,8 @@ int main ()
|
||||
typedef dtl::pair<movable_pair_t, movable_pair_t> movable_pair_pair_t;
|
||||
test::movable_int a(1), b(2), c(3), d(4);
|
||||
movable_pair_pair_t p( piecewise_construct
|
||||
, dtl::forward_as_tuple(boost::move(a), boost::move(b))
|
||||
, dtl::forward_as_tuple(boost::move(c), boost::move(d))
|
||||
, dtl::forward_as_tuple_impl(boost::move(a), boost::move(b))
|
||||
, dtl::forward_as_tuple_impl(boost::move(c), boost::move(d))
|
||||
);
|
||||
BOOST_TEST(p.first.first == 1);
|
||||
BOOST_TEST(p.first.second == 2);
|
||||
|
||||
Reference in New Issue
Block a user