/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/common_type/requirements/ |
H A D | typedefs-2.cc | 29 using std::is_same; 31 VERIFY( (is_same<common_type<void>::type, void>::value) ); 32 VERIFY( (is_same<common_type<const void>::type, const void>::value) ); 33 VERIFY( (is_same<common_type<volatile void>::type, volatile void>::value) ); 34 VERIFY( (is_same<common_type<const volatile void>::type, 37 VERIFY( (is_same<common_type<void, void>::type, void>::value) ); 38 VERIFY( (is_same<common_type<void, const void>::type, void>::value) ); 39 VERIFY( (is_same<common_type<void, volatile void>::type, void>::value) ); 40 VERIFY( (is_same<common_type<void, const volatile void>::type, 42 VERIFY( (is_same<common_typ [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/ |
H A D | value.cc | 29 using std::tr1::is_same; 33 VERIFY( (test_relationship<is_same, int, int>(true)) ); 34 VERIFY( (test_relationship<is_same, const int, const int>(true)) ); 35 VERIFY( (test_relationship<is_same, int&, int&>(true)) ); 36 VERIFY( (test_relationship<is_same, ClassType, ClassType>(true)) ); 39 VERIFY( (test_relationship<is_same, void, int>(false)) ); 40 VERIFY( (test_relationship<is_same, int, const int>(false)) ); 41 VERIFY( (test_relationship<is_same, int, int&>(false)) ); 42 VERIFY( (test_relationship<is_same, int, ClassType>(false)) );
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_same/ |
H A D | is_same.cc | 30 using std::tr1::is_same; 34 VERIFY( (test_relationship<is_same, int, int>(true)) ); 35 VERIFY( (test_relationship<is_same, const int, const int>(true)) ); 36 VERIFY( (test_relationship<is_same, int&, int&>(true)) ); 37 VERIFY( (test_relationship<is_same, ClassType, ClassType>(true)) ); 40 VERIFY( (test_relationship<is_same, void, int>(false)) ); 41 VERIFY( (test_relationship<is_same, int, const int>(false)) ); 42 VERIFY( (test_relationship<is_same, int, int&>(false)) ); 43 VERIFY( (test_relationship<is_same, int, ClassType>(false)) );
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/cpp0x/ |
H A D | decltype-refbug.C | 6 struct is_same struct 12 struct is_same<T, T> struct 17 static_assert(is_same<decltype(f()), int&&>::value, "decltype of rvalue reference");
|
H A D | decltype12.C | 4 struct is_same struct 10 struct is_same<T, T> struct 26 static_assert(is_same<decltype(f(i)), int&&>::value, "direct call"); 27 static_assert(is_same<decltype(fp(i)), int&&>::value, "pointer"); 28 static_assert(is_same<decltype((*fp)(i)), int&&>::value, 30 static_assert(is_same<decltype(fr(i)), int&&>::value, 32 static_assert(is_same<decltype(xr.f(i)), int&&>::value, 34 static_assert(is_same<decltype((xr.*mfp)(i)), int&&>::value, 36 static_assert(is_same<decltype((xp->*mfp)(i)), int&&>::value,
|
H A D | decltype1.C | 5 struct is_same struct 11 struct is_same<T, T> struct 21 static_assert(is_same<decltype(foo()), const int&>::value, 23 static_assert(is_same<decltype(i), int>::value, 25 static_assert(is_same<decltype(a->x), double>::value, 27 static_assert(is_same<decltype((a->x)), const double&>::value,
|
H A D | decltype6.C | 5 struct is_same struct 11 struct is_same<T, T> struct 29 static_assert(is_same<decltype(foo<int>()), const int&>::value, 31 static_assert(is_same<decltype(i), int>::value, 33 static_assert(is_same<decltype(a->x), double>::value, 35 static_assert(is_same<decltype((a->x)), const double&>::value,
|
H A D | variadic14.C | 9 struct is_same { struct 14 struct is_same<T, T> { struct 18 int a0[is_same<make_function_type<int>::type, int()>::value? 1 : -1]; 19 int a1[is_same<make_function_type<int, float>::type, int(float)>::value? 1 : -1]; 20 int a2[is_same<make_function_type<int, float>::type, int(float)>::value? 1 : -1]; 21 int a3[is_same<make_function_type<int, float, double>::type, int(float, double)>::value? 1 : -1];
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/add_lvalue_reference/ |
H A D | value.cc | 29 using std::is_same; 32 VERIFY( (is_same<add_lvalue_reference<int>::type, int&>::value) ); 33 VERIFY( (is_same<add_lvalue_reference<int&>::type, int&>::value) ); 34 VERIFY( (is_same<add_lvalue_reference<const int>::type, const int&>::value) ); 35 VERIFY( (is_same<add_lvalue_reference<int*>::type, int*&>::value) ); 36 VERIFY( (is_same<add_lvalue_reference<ClassType&>::type, ClassType&>::value) ); 37 VERIFY( (is_same<add_lvalue_reference<ClassType>::type, ClassType&>::value) ); 38 VERIFY( (is_same<add_lvalue_reference<int(int)>::type, int(&)(int)>::value) ); 39 VERIFY( (is_same<add_lvalue_reference<int&&>::type, int&>::value) ); 40 VERIFY( (is_same<add_lvalue_referenc [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_all_extents/ |
H A D | value.cc | 30 using std::tr1::is_same; 33 VERIFY( (is_same<remove_all_extents<int>::type, int>::value) ); 34 VERIFY( (is_same<remove_all_extents<int[2]>::type, int>::value) ); 35 VERIFY( (is_same<remove_all_extents<int[2][3]>::type, int>::value) ); 36 VERIFY( (is_same<remove_all_extents<int[][3]>::type, int>::value) ); 37 VERIFY( (is_same<remove_all_extents<const int[2][3]>::type, 39 VERIFY( (is_same<remove_all_extents<ClassType>::type, ClassType>::value) ); 40 VERIFY( (is_same<remove_all_extents<ClassType[2]>::type, ClassType>::value) ); 41 VERIFY( (is_same<remove_all_extents<ClassType[2][3]>::type, 43 VERIFY( (is_same<remove_all_extent [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_extent/ |
H A D | value.cc | 30 using std::tr1::is_same; 33 VERIFY( (is_same<remove_extent<int>::type, int>::value) ); 34 VERIFY( (is_same<remove_extent<int[2]>::type, int>::value) ); 35 VERIFY( (is_same<remove_extent<int[2][3]>::type, int[3]>::value) ); 36 VERIFY( (is_same<remove_extent<int[][3]>::type, int[3]>::value) ); 37 VERIFY( (is_same<remove_extent<const int[2]>::type, const int>::value) ); 38 VERIFY( (is_same<remove_extent<ClassType>::type, ClassType>::value) ); 39 VERIFY( (is_same<remove_extent<ClassType[2]>::type, ClassType>::value) ); 40 VERIFY( (is_same<remove_extent<ClassType[2][3]>::type, 42 VERIFY( (is_same<remove_exten [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/tr1/4_metaprogramming/array_modifications/ |
H A D | remove_all_extents.cc | 31 using std::tr1::is_same; 34 VERIFY( (is_same<remove_all_extents<int>::type, int>::value) ); 35 VERIFY( (is_same<remove_all_extents<int[2]>::type, int>::value) ); 36 VERIFY( (is_same<remove_all_extents<int[2][3]>::type, int>::value) ); 37 VERIFY( (is_same<remove_all_extents<int[][3]>::type, int>::value) ); 38 VERIFY( (is_same<remove_all_extents<const int[2][3]>::type, 40 VERIFY( (is_same<remove_all_extents<ClassType>::type, ClassType>::value) ); 41 VERIFY( (is_same<remove_all_extents<ClassType[2]>::type, ClassType>::value) ); 42 VERIFY( (is_same<remove_all_extents<ClassType[2][3]>::type, 44 VERIFY( (is_same<remove_all_extent [all...] |
H A D | remove_extent.cc | 31 using std::tr1::is_same; 34 VERIFY( (is_same<remove_extent<int>::type, int>::value) ); 35 VERIFY( (is_same<remove_extent<int[2]>::type, int>::value) ); 36 VERIFY( (is_same<remove_extent<int[2][3]>::type, int[3]>::value) ); 37 VERIFY( (is_same<remove_extent<int[][3]>::type, int[3]>::value) ); 38 VERIFY( (is_same<remove_extent<const int[2]>::type, const int>::value) ); 39 VERIFY( (is_same<remove_extent<ClassType>::type, ClassType>::value) ); 40 VERIFY( (is_same<remove_extent<ClassType[2]>::type, ClassType>::value) ); 41 VERIFY( (is_same<remove_extent<ClassType[2][3]>::type, 43 VERIFY( (is_same<remove_exten [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/requirements/ |
H A D | explicit_instantiation.cc | 31 template struct is_same<test_type, test_type>;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_pointer/ |
H A D | value.cc | 30 using std::tr1::is_same; 33 VERIFY( (is_same<add_pointer<int>::type, int*>::value) ); 34 VERIFY( (is_same<add_pointer<int*>::type, int**>::value) ); 35 VERIFY( (is_same<add_pointer<const int>::type, const int*>::value) ); 36 VERIFY( (is_same<add_pointer<int&>::type, int*>::value) ); 37 VERIFY( (is_same<add_pointer<ClassType*>::type, ClassType**>::value) ); 38 VERIFY( (is_same<add_pointer<ClassType>::type, ClassType*>::value) );
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_pointer/ |
H A D | value.cc | 30 using std::tr1::is_same; 33 VERIFY( (is_same<remove_pointer<int*>::type, int>::value) ); 34 VERIFY( (is_same<remove_pointer<int>::type, int>::value) ); 35 VERIFY( (is_same<remove_pointer<const int*>::type, const int>::value) ); 36 VERIFY( (is_same<remove_pointer<int**>::type, int*>::value) ); 37 VERIFY( (is_same<remove_pointer<ClassType*>::type, ClassType>::value) ); 38 VERIFY( (is_same<remove_pointer<ClassType>::type, ClassType>::value) );
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_reference/ |
H A D | value.cc | 30 using std::tr1::is_same; 33 VERIFY( (is_same<remove_reference<int&>::type, int>::value) ); 34 VERIFY( (is_same<remove_reference<int>::type, int>::value) ); 35 VERIFY( (is_same<remove_reference<const int&>::type, const int>::value) ); 36 VERIFY( (is_same<remove_reference<int*&>::type, int*>::value) ); 37 VERIFY( (is_same<remove_reference<ClassType&>::type, ClassType>::value) ); 38 VERIFY( (is_same<remove_reference<ClassType>::type, ClassType>::value) );
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/tr1/4_metaprogramming/pointer_modifications/ |
H A D | add_pointer.cc | 31 using std::tr1::is_same; 34 VERIFY( (is_same<add_pointer<int>::type, int*>::value) ); 35 VERIFY( (is_same<add_pointer<int*>::type, int**>::value) ); 36 VERIFY( (is_same<add_pointer<const int>::type, const int*>::value) ); 37 VERIFY( (is_same<add_pointer<int&>::type, int*>::value) ); 38 VERIFY( (is_same<add_pointer<ClassType*>::type, ClassType**>::value) ); 39 VERIFY( (is_same<add_pointer<ClassType>::type, ClassType*>::value) );
|
H A D | remove_pointer.cc | 31 using std::tr1::is_same; 34 VERIFY( (is_same<remove_pointer<int*>::type, int>::value) ); 35 VERIFY( (is_same<remove_pointer<int>::type, int>::value) ); 36 VERIFY( (is_same<remove_pointer<const int*>::type, const int>::value) ); 37 VERIFY( (is_same<remove_pointer<int**>::type, int*>::value) ); 38 VERIFY( (is_same<remove_pointer<ClassType*>::type, ClassType>::value) ); 39 VERIFY( (is_same<remove_pointer<ClassType>::type, ClassType>::value) );
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/tr1/4_metaprogramming/reference_modifications/ |
H A D | add_reference.cc | 31 using std::tr1::is_same; 34 VERIFY( (is_same<add_reference<int>::type, int&>::value) ); 35 VERIFY( (is_same<add_reference<int&>::type, int&>::value) ); 36 VERIFY( (is_same<add_reference<const int>::type, const int&>::value) ); 37 VERIFY( (is_same<add_reference<int*>::type, int*&>::value) ); 38 VERIFY( (is_same<add_reference<ClassType&>::type, ClassType&>::value) ); 39 VERIFY( (is_same<add_reference<ClassType>::type, ClassType&>::value) );
|
H A D | remove_reference.cc | 31 using std::tr1::is_same; 34 VERIFY( (is_same<remove_reference<int&>::type, int>::value) ); 35 VERIFY( (is_same<remove_reference<int>::type, int>::value) ); 36 VERIFY( (is_same<remove_reference<const int&>::type, const int>::value) ); 37 VERIFY( (is_same<remove_reference<int*&>::type, int*>::value) ); 38 VERIFY( (is_same<remove_reference<ClassType&>::type, ClassType>::value) ); 39 VERIFY( (is_same<remove_reference<ClassType>::type, ClassType>::value) );
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/add_rvalue_reference/ |
H A D | value.cc | 29 using std::is_same; 32 VERIFY( (is_same<add_rvalue_reference<int>::type, int&&>::value) ); 33 VERIFY( (is_same<add_rvalue_reference<int&&>::type, int&&>::value) ); 34 VERIFY( (is_same<add_rvalue_reference<const int>::type, const int&&>::value) ); 35 VERIFY( (is_same<add_rvalue_reference<int*>::type, int*&&>::value) ); 36 VERIFY( (is_same<add_rvalue_reference<ClassType&&>::type, ClassType&&>::value) ); 37 VERIFY( (is_same<add_rvalue_reference<ClassType>::type, ClassType&&>::value) ); 38 VERIFY( (is_same<add_rvalue_reference<int(int)>::type, int(&&)(int)>::value) ); 39 VERIFY( (is_same<add_rvalue_reference<void>::type, void>::value) ); 40 VERIFY( (is_same<add_rvalue_referenc [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/identity/ |
H A D | value.cc | 29 using std::is_same; 32 VERIFY( (is_same<identity<int>::type, int>::value) ); 33 VERIFY( (is_same<identity<int&>::type, int&>::value) ); 34 VERIFY( (is_same<identity<int&&>::type, int&&>::value) ); 35 VERIFY( (is_same<identity<int*>::type, int*>::value) ); 36 VERIFY( (is_same<identity<ClassType&&>::type, ClassType&&>::value) ); 37 VERIFY( (is_same<identity<ClassType>::type, ClassType>::value) ); 38 VERIFY( (is_same<identity<int(int)>::type, int(int)>::value) ); 39 VERIFY( (is_same<identity<void>::type, void>::value) ); 40 VERIFY( (is_same<identit [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/20_util/remove_reference/ |
H A D | value.cc | 29 using std::is_same; 32 VERIFY( (is_same<remove_reference<int&>::type, int>::value) ); 33 VERIFY( (is_same<remove_reference<int>::type, int>::value) ); 34 VERIFY( (is_same<remove_reference<const int&>::type, const int>::value) ); 35 VERIFY( (is_same<remove_reference<int*&>::type, int*>::value) ); 36 VERIFY( (is_same<remove_reference<ClassType&>::type, ClassType>::value) ); 37 VERIFY( (is_same<remove_reference<ClassType>::type, ClassType>::value) ); 38 VERIFY( (is_same<remove_reference<int(&)(int)>::type, int(int)>::value) ); 39 VERIFY( (is_same<remove_reference<int&&>::type, int>::value) ); 40 VERIFY( (is_same<remove_referenc [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_reference/ |
H A D | value.cc | 30 using std::tr1::is_same; 33 VERIFY( (is_same<add_reference<int>::type, int&>::value) ); 34 VERIFY( (is_same<add_reference<int&>::type, int&>::value) ); 35 VERIFY( (is_same<add_reference<const int>::type, const int&>::value) ); 36 VERIFY( (is_same<add_reference<int*>::type, int*&>::value) ); 37 VERIFY( (is_same<add_reference<ClassType&>::type, ClassType&>::value) ); 38 VERIFY( (is_same<add_reference<ClassType>::type, ClassType&>::value) ); 40 VERIFY( (is_same<add_reference<void>::type, void>::value) ); 41 VERIFY( (is_same<add_reference<const void>::type, const void>::value) );
|