/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/ |
H A D | sfinae-1.cpp | 27 struct enable_if { struct in namespace:instantiation_order1 32 struct enable_if<false, T> { }; struct in namespace:instantiation_order1 35 typename enable_if<sizeof(T) == 17>::type
|
/external/chromium_org/base/numerics/ |
H A D | safe_math.h | 169 typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 177 typename enable_if<!is_same<Src, T>::value, int>::type = 0) { 167 cast( Src u, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument 175 cast( const CheckedNumeric<Src>& u, typename enable_if<!is_same<Src, T>::value, int>::type = 0) argument
|
H A D | safe_numerics_unittest.cc | 27 using base::enable_if; 54 typename enable_if< 110 typename enable_if< 143 typename enable_if<numeric_limits<Dst>::is_iec559, int>::type = 0) { 140 TestSpecializedArithmetic( const char* dst, int line, typename enable_if<numeric_limits<Dst>::is_iec559, int>::type = 0) argument
|
H A D | safe_math_impl.h | 67 typedef typename enable_if< 74 typedef typename enable_if< 81 typedef typename enable_if< 90 static const typename enable_if<std::numeric_limits<Integer>::is_integer, 110 // TODO(jschuh): Break this code out from the enable_if pattern and find a clean 114 typename enable_if<std::numeric_limits<T>::is_integer, T>::type 137 typename enable_if<std::numeric_limits<T>::is_integer, T>::type 164 typename enable_if< 176 typename enable_if<std::numeric_limits<T>::is_integer&& std::numeric_limits< 205 typename enable_if<st 218 CheckedDiv( T x, T y, RangeConstraint* validity, typename enable_if<std::numeric_limits<T>::is_integer, int>::type = 0) argument 377 CheckedNumericState( Src value, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument 401 CheckedNumericState( Src value, RangeConstraint validity, typename enable_if<std::numeric_limits<Src>::is_integer, int>::type = 0) argument 428 CheckedNumericState( Src value, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument [all...] |
/external/chromium_org/base/ |
H A D | template_util.h | 143 struct enable_if {}; struct in namespace:base 146 struct enable_if<true, T> { typedef T type; }; struct in namespace:base
|
/external/chromium_org/v8/src/base/ |
H A D | safe_math.h | 173 typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 181 typename enable_if<!is_same<Src, T>::value, int>::type = 0) { 171 cast( Src u, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument 179 cast( const CheckedNumeric<Src>& u, typename enable_if<!is_same<Src, T>::value, int>::type = 0) argument
|
H A D | safe_math_impl.h | 43 struct enable_if {}; struct in namespace:v8::base::internal 46 struct enable_if<true, T> { typedef T type; }; struct in namespace:v8::base::internal 97 typedef typename enable_if< 104 typedef typename enable_if< 111 typedef typename enable_if< 120 static const typename enable_if<std::numeric_limits<Integer>::is_integer, 140 // TODO(jschuh): Break this code out from the enable_if pattern and find a clean 144 typename enable_if<std::numeric_limits<T>::is_integer, T>::type 167 typename enable_if<std::numeric_limits<T>::is_integer, T>::type 194 typename enable_if< 249 CheckedDiv( T x, T y, RangeConstraint* validity, typename enable_if<std::numeric_limits<T>::is_integer, int>::type = 0) argument 408 CheckedNumericState( Src value, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument 432 CheckedNumericState( Src value, RangeConstraint validity, typename enable_if<std::numeric_limits<Src>::is_integer, int>::type = 0) argument 456 CheckedNumericState( Src value, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument [all...] |
/external/clang/test/SemaTemplate/ |
H A D | overload-candidates.cpp | 45 template<bool, typename = void> struct enable_if {}; struct in namespace:boost 46 template<typename T> struct enable_if<true, T> { typedef T type; }; struct in namespace:boost 48 template<typename T> typename boost::enable_if<sizeof(T) == 4, int>::type if_size_4(); // expected-note{{candidate template ignored: disabled by 'enable_if' [with T = char]}} 52 template<typename Cond, typename T = void> struct enable_if : boost::enable_if<Cond::value, T> {}; struct in namespace:llvm 56 template<typename T> typename llvm::enable_if<is_int<T> >::type if_int(); // expected-note{{candidate template ignored: disabled by 'enable_if' [with T = char]}} 62 typename boost::enable_if<sizeof(T) == 4, int>::type f(); // expected-error{{no type named 'type' in 'boost::enable_if<fals 84 template<bool, typename = void> struct enable_if {}; struct in namespace:std 85 template<typename T> struct enable_if<true, T> { typedef T type; }; struct in namespace:std [all...] |
H A D | constexpr-instantiate.cpp | 168 template<bool, typename> struct enable_if {}; struct in namespace:Unevaluated::PR13423 169 template<typename T> struct enable_if<true, T> { using type = T; }; struct in namespace:Unevaluated::PR13423 176 static typename enable_if<f<U>(), void>::type g() {} // expected-note {{disabled by 'enable_if'}}
|
/external/eigen/Eigen/src/Core/util/ |
H A D | Meta.h | 86 template<bool Condition, typename T> struct enable_if; 88 template<typename T> struct enable_if<true,T> struct in namespace:Eigen::internal
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | sizeofpack.cpp | 75 struct enable_if { }; struct in namespace:pr13272 77 template<class T> struct enable_if<true, T> { struct in namespace:pr13272 84 void cxx_throw(typename enable_if<(sizeof...(Args) > 0), const char *>::type fmt, Args&&... args) { 152 struct enable_if struct in namespace:pr15112 155 struct enable_if<true,_Tp> struct in namespace:pr15112 172 typename enable_if<is_array_of<sizeof...(Args), size_t, Args...>::value,
|
H A D | example-bind.cpp | 252 // enable_if helper 254 struct enable_if; 257 struct enable_if<true, T> { struct 262 struct enable_if<false, T> { }; struct 270 typename enable_if<(I >= 0 && I < tuple_size<tuple<Values...> >::value)>::type> { 294 inline typename enable_if<is_bind_expression<Bound>::value, 312 inline typename enable_if<(!is_bind_expression<Bound>::value
|
/external/clang/test/CodeGenCXX/ |
H A D | mangle-exprs.cpp | 36 struct enable_if { typedef T type; }; struct 39 struct enable_if< false, T > {}; struct 44 void implicit(typename enable_if< O <= 4 >::type* = 0) { 48 void cstyle(typename enable_if< O <= (unsigned)4 >::type* = 0) { 52 void functional(typename enable_if< O <= unsigned(4) >::type* = 0) { 56 void static_(typename enable_if< O <= static_cast<unsigned>(4) >::type* = 0) {
|