Index: test/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.assign/const_pair.pass.cpp @@ -23,9 +23,9 @@ int main() { { - typedef std::pair T0; - typedef std::tuple T1; - T0 t0(2.5, 'a'); + typedef std::pair T0; + typedef std::tuple T1; + T0 t0(2, 'a'); T1 t1; t1 = t0; assert(std::get<0>(t1) == 2); Index: test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp @@ -36,26 +36,26 @@ int main() { { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2); T1 t1; t1 = t0; assert(std::get<0>(t1) == 2); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a'); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a'); T1 t1; t1 = t0; assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', D(3)); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', D(3)); T1 t1; t1 = t0; assert(std::get<0>(t1) == 2); @@ -65,10 +65,10 @@ { D d(3); D d2(2); - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', d2); - T1 t1(1.5, 'b', d); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', d2); + T1 t1(1, 'b', d); t1 = t0; assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); Index: test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_move.pass.cpp @@ -47,26 +47,26 @@ int main() { { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2); T1 t1; t1 = std::move(t0); assert(std::get<0>(t1) == 2); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a'); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a'); T1 t1; t1 = std::move(t0); assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', D(3)); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', D(3)); T1 t1; t1 = std::move(t0); assert(std::get<0>(t1) == 2); @@ -76,19 +76,19 @@ { D d(3); D d2(2); - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', d2); - T1 t1(1.5, 'b', d); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', d2); + T1 t1(1, 'b', d); t1 = std::move(t0); assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); assert(std::get<2>(t1).id_ == 2); } { - typedef std::tuple> T0; - typedef std::tuple> T1; - T0 t0(2.5, 'a', std::unique_ptr(new D(3))); + typedef std::tuple> T0; + typedef std::tuple> T1; + T0 t0(2, 'a', std::unique_ptr(new D(3))); T1 t1; t1 = std::move(t0); assert(std::get<0>(t1) == 2); Index: test/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.assign/move_pair.pass.cpp @@ -39,9 +39,9 @@ int main() { { - typedef std::pair> T0; - typedef std::tuple> T1; - T0 t0(2.5, std::unique_ptr(new D(3))); + typedef std::pair> T0; + typedef std::tuple> T1; + T0 t0(2, std::unique_ptr(new D(3))); T1 t1; t1 = std::move(t0); assert(std::get<0>(t1) == 2); Index: test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_const_pair.pass.cpp @@ -27,8 +27,8 @@ int main() { { - typedef std::pair T0; - typedef std::tuple T1; + typedef std::pair T0; + typedef std::tuple T1; T0 t0(2, 3); T1 t1(std::allocator_arg, A1(5), t0); assert(std::get<0>(t1) == 2); Index: test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp @@ -37,9 +37,9 @@ int main() { { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2); T1 t1(std::allocator_arg, A1(), t0); assert(std::get<0>(t1) == 2); } @@ -65,9 +65,9 @@ assert(std::get<1>(t1) == 3); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(1.5, 2, 3); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(1, 2, 3); alloc_first::allocator_constructed = false; alloc_last::allocator_constructed = false; T1 t1(std::allocator_arg, A1(5), t0); Index: test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp @@ -24,20 +24,20 @@ int main() { { - typedef std::pair T0; - typedef std::tuple T1; - T0 t0(2.5, 'a'); + typedef std::pair T0; + typedef std::tuple T1; + T0 t0(2, 'a'); T1 t1 = t0; assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == short('a')); } #if TEST_STD_VER > 11 { - typedef std::pair P0; - typedef std::tuple T1; - constexpr P0 p0(2.5, 'a'); + typedef std::pair P0; + typedef std::tuple T1; + constexpr P0 p0(2, 'a'); constexpr T1 t1 = p0; - static_assert(std::get<0>(t1) != std::get<0>(p0), ""); + static_assert(std::get<0>(t1) == std::get<0>(p0), ""); static_assert(std::get<1>(t1) == std::get<1>(p0), ""); static_assert(std::get<0>(t1) == 2, ""); static_assert(std::get<1>(t1) == short('a'), ""); Index: test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp @@ -68,17 +68,17 @@ int main() { { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2); T1 t1 = t0; assert(std::get<0>(t1) == 2); } #if TEST_STD_VER > 11 { - typedef std::tuple T0; + typedef std::tuple T0; typedef std::tuple T1; - constexpr T0 t0(2.5); + constexpr T0 t0(2); constexpr T1 t1 = t0; static_assert(std::get<0>(t1) == 2, ""); } @@ -91,17 +91,17 @@ } #endif { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a'); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a'); T1 t1 = t0; assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', D(3)); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', D(3)); T1 t1 = t0; assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); @@ -109,9 +109,9 @@ } { D d(3); - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', d); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', d); T1 t1 = t0; d.id_ = 2; assert(std::get<0>(t1) == 2); @@ -119,9 +119,9 @@ assert(std::get<2>(t1).id_ == 2); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', 3); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', 3); T1 t1(t0); assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); Index: test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_move.pass.cpp @@ -48,24 +48,24 @@ int main() { { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2); T1 t1 = std::move(t0); assert(std::get<0>(t1) == 2); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a'); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a'); T1 t1 = std::move(t0); assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); } { - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', D(3)); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', D(3)); T1 t1 = std::move(t0); assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); @@ -73,9 +73,9 @@ } { D d(3); - typedef std::tuple T0; - typedef std::tuple T1; - T0 t0(2.5, 'a', d); + typedef std::tuple T0; + typedef std::tuple T1; + T0 t0(2, 'a', d); T1 t1 = std::move(t0); d.id_ = 2; assert(std::get<0>(t1) == 2); @@ -83,9 +83,9 @@ assert(std::get<2>(t1).id_ == 2); } { - typedef std::tuple> T0; - typedef std::tuple> T1; - T0 t0(2.5, 'a', std::unique_ptr(new D(3))); + typedef std::tuple> T0; + typedef std::tuple> T1; + T0 t0(2, 'a', std::unique_ptr(new D(3))); T1 t1 = std::move(t0); assert(std::get<0>(t1) == 2); assert(std::get<1>(t1) == int('a')); Index: test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp =================================================================== --- test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp +++ test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move_pair.pass.cpp @@ -38,9 +38,9 @@ int main() { { - typedef std::pair> T0; - typedef std::tuple> T1; - T0 t0(2.5, std::unique_ptr(new D(3))); + typedef std::pair> T0; + typedef std::tuple> T1; + T0 t0(2, std::unique_ptr(new D(3))); T1 t1 = std::move(t0); assert(std::get<0>(t1) == 2); assert(std::get<1>(t1)->id_ == 3);