Home
last modified time | relevance | path

Searched refs:tuple_size (Results 51 – 75 of 4551) sorted by relevance

12345678910>>...183

/dports/lang/gcc9-aux/gcc-9.1.0/libstdc++-v3/testsuite/20_util/tuple/
H A Dcv_tuple_size_neg.cc24 std::tuple_size<const int> ic; // { dg-error "incomplete" }
25 std::tuple_size<volatile int> iv; // { dg-error "incomplete" }
26 std::tuple_size<const volatile int> icv; // { dg-error "incomplete" }
29 std::tuple_size<const A> ac; // { dg-error "incomplete" }
30 std::tuple_size<volatile A> av; // { dg-error "incomplete" }
31 std::tuple_size<const volatile A> acv; // { dg-error "incomplete" }
33 std::tuple_size<const void> vc; // { dg-error "incomplete" }
34 std::tuple_size<volatile void> vv; // { dg-error "incomplete" }
35 std::tuple_size<const volatile void> vcv; // { dg-error "incomplete" }
/dports/lang/gcc8/gcc-8.5.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/devel/riscv64-gcc/gcc-8.3.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc9/gcc-9.4.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc9-aux/gcc-9.1.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
35 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
44 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
36 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
39 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
45 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
48 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
36 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
39 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
45 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
48 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
36 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
39 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
45 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
48 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
36 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
39 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
45 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
48 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
36 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
39 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
45 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
48 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
36 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
39 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
45 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
48 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc28 using std::tuple_size; in test01()
36 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
37 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
38 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
39 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
45 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
46 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
47 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
48 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/devel/hyperscan/boost_1_75_0/libs/tuple/test/
H A Dstd_tuple_size.cpp20 BOOST_TEST_EQ( std::tuple_size< Tp >::value, x ); in test()
21 BOOST_TEST_EQ( std::tuple_size< typename Tp::inherited >::value, x ); in test()
44 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple())>::value, 0 ); in main()
45 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple(1))>::value, 1 ); in main()
46 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple(1, 2))>::value, 2 ); in main()
47 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple(1, 2, 3))>::value, 3 ); in main()
48 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple(1, 2, 3, 4))>::value, 4 ); in main()
49 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple(1, 2, 3, 4, 5))>::value, 5 ); in main()
50 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple(1, 2, 3, 4, 5, 6))>::value, 6 ); in main()
51 BOOST_TEST_EQ( std::tuple_size<decltype(boost::make_tuple(1, 2, 3, 4, 5, 6, 7))>::value, 7 ); in main()
[all …]
/dports/lang/gnat_util/gcc-6-20180516/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc33 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
34 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
35 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
42 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
43 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
44 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc6-aux/gcc-6-20180516/libstdc++-v3/testsuite/23_containers/array/tuple_interface/
H A Dtuple_size.cc33 static_assert(tuple_size<array_type>::value == 5, ""); in test01()
34 static_assert(tuple_size<const array_type>::value == 5, ""); in test01()
35 static_assert(tuple_size<volatile array_type>::value == 5, ""); in test01()
36 static_assert(tuple_size<const volatile array_type>::value == 5, ""); in test01()
42 static_assert(tuple_size<array_type>::value == 0, ""); in test01()
43 static_assert(tuple_size<const array_type>::value == 0, ""); in test01()
44 static_assert(tuple_size<volatile array_type>::value == 0, ""); in test01()
45 static_assert(tuple_size<const volatile array_type>::value == 0, ""); in test01()
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/20_util/tuple/
H A Dcv_tuple_size.cc30 VERIFY( tuple_size<const tuple<> >::value == 0 ); in test01()
31 VERIFY( tuple_size<volatile tuple<int> >::value == 1 ); in test01()
32 VERIFY( tuple_size<const volatile tuple<void> >::value == 1 ); in test01()
35 VERIFY( tuple_size<const test_tuple1>::value == 3 ); in test01()
36 VERIFY( tuple_size<const volatile test_tuple1>::value == 3 ); in test01()
37 VERIFY( tuple_size<volatile tuple<tuple<void> > >::value == 1 ); in test01()
53 static_assert( !has_value<std::tuple_size<int>>::value, "" );
54 static_assert( !has_value<std::tuple_size<const int>>::value, "" );
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/tuple/
H A Dcv_tuple_size.cc30 VERIFY( tuple_size<const tuple<> >::value == 0 ); in test01()
31 VERIFY( tuple_size<volatile tuple<int> >::value == 1 ); in test01()
32 VERIFY( tuple_size<const volatile tuple<void> >::value == 1 ); in test01()
35 VERIFY( tuple_size<const test_tuple1>::value == 3 ); in test01()
36 VERIFY( tuple_size<const volatile test_tuple1>::value == 3 ); in test01()
37 VERIFY( tuple_size<volatile tuple<tuple<void> > >::value == 1 ); in test01()
53 static_assert( !has_value<std::tuple_size<int>>::value, "" );
54 static_assert( !has_value<std::tuple_size<const int>>::value, "" );
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/tuple/
H A Dcv_tuple_size.cc30 VERIFY( tuple_size<const tuple<> >::value == 0 ); in test01()
31 VERIFY( tuple_size<volatile tuple<int> >::value == 1 ); in test01()
32 VERIFY( tuple_size<const volatile tuple<void> >::value == 1 ); in test01()
35 VERIFY( tuple_size<const test_tuple1>::value == 3 ); in test01()
36 VERIFY( tuple_size<const volatile test_tuple1>::value == 3 ); in test01()
37 VERIFY( tuple_size<volatile tuple<tuple<void> > >::value == 1 ); in test01()
53 static_assert( !has_value<std::tuple_size<int>>::value, "" );
54 static_assert( !has_value<std::tuple_size<const int>>::value, "" );
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/20_util/tuple/
H A Dcv_tuple_size.cc30 VERIFY( tuple_size<const tuple<> >::value == 0 ); in test01()
31 VERIFY( tuple_size<volatile tuple<int> >::value == 1 ); in test01()
32 VERIFY( tuple_size<const volatile tuple<void> >::value == 1 ); in test01()
35 VERIFY( tuple_size<const test_tuple1>::value == 3 ); in test01()
36 VERIFY( tuple_size<const volatile test_tuple1>::value == 3 ); in test01()
37 VERIFY( tuple_size<volatile tuple<tuple<void> > >::value == 1 ); in test01()
53 static_assert( !has_value<std::tuple_size<int>>::value, "" );
54 static_assert( !has_value<std::tuple_size<const int>>::value, "" );
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/20_util/tuple/
H A Dcv_tuple_size.cc30 VERIFY( tuple_size<const tuple<> >::value == 0 ); in test01()
31 VERIFY( tuple_size<volatile tuple<int> >::value == 1 ); in test01()
32 VERIFY( tuple_size<const volatile tuple<void> >::value == 1 ); in test01()
35 VERIFY( tuple_size<const test_tuple1>::value == 3 ); in test01()
36 VERIFY( tuple_size<const volatile test_tuple1>::value == 3 ); in test01()
37 VERIFY( tuple_size<volatile tuple<tuple<void> > >::value == 1 ); in test01()
53 static_assert( !has_value<std::tuple_size<int>>::value, "" );
54 static_assert( !has_value<std::tuple_size<const int>>::value, "" );

12345678910>>...183