Searched refs:sfinae (Results 1 - 5 of 5) sorted by relevance

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dscoped_enum.C65 int& sfinae(constant<T, T::Green>*);
67 float& sfinae(void*);
71 int& test1 = sfinae((constant<Color1, Color1::Green>*)0);
72 int& test2 = sfinae((constant<Color2, Color2::Green>*)0);
73 float& test3 = sfinae((constant<Color1, Color1::Red>*)0);
74 int& test4 = sfinae((constant<Color, Green>*)0);
75 float& test5 = sfinae((constant<Color, Red>*)0);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dpr25811-3.C16 static yes_type sfinae (size< sizeof (new U) >*);
19 static no_type sfinae (...);
22 static const bool value = sizeof (sfinae<T>(0)) == sizeof (yes_type);
H A Dpr25811-4.C17 static yes_type sfinae (size< sizeof (new U) >*);
20 static no_type sfinae (...);
23 static const bool value = sizeof (sfinae<T>(0)) == sizeof (yes_type);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/
H A Dpr53602.C139 struct sfinae:T2 struct in namespace:boost::unordered::detail
146 static boost::unordered::detail::sfinae <typename X::pointer, choice1> test (choice1);
/haiku-buildtools/gcc/gcc/cp/
H A Ddecl.c7469 bool sfinae = !(complain & tf_error);
7471 if (sfinae)
7474 if (sfinae)
7478 if (sfinae)
7456 bool sfinae = !(complain & tf_error); local

Completed in 177 milliseconds