Home
last modified time | relevance | path

Searched defs:enable_if (Results 1 – 10 of 10) sorted by relevance

/external/clang/test/SemaTemplate/
Doverload-candidates.cpp47 template<bool, typename = void> struct enable_if {}; struct
48 template<typename T> struct enable_if<true, T> { typedef T type; }; struct
50 template<typename T> typename boost::enable_if<sizeof(T) == 4, int>::type if_size_4(); // expected-…
54 template<typename Cond, typename T = void> struct enable_if : boost::enable_if<Cond::value, T> {}; struct
86 template<bool, typename = void> struct enable_if {}; struct
87 template<typename T> struct enable_if<true, T> { typedef T type; }; struct
99 typename Requires = typename std::enable_if<a_trait<T>::value>::type>
Dconstexpr-instantiate.cpp168 template<bool, typename> struct enable_if {}; struct
169 template<typename T> struct enable_if<true, T> { using type = T; }; struct
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
Dsfinae-1.cpp27 struct enable_if { struct
28 typedef T type;
32 struct enable_if<false, T> { }; struct
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dsizeofpack.cpp75 struct enable_if { }; struct
77 template<class T> struct enable_if<true, T> { struct
78 typedef T type;
152 struct enable_if struct
155 struct enable_if<true,_Tp> struct
156 { typedef _Tp type; };
Dexample-bind.cpp257 struct enable_if<true, T> { struct
262 struct enable_if<false, T> { }; argument
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits.h119 template<bool cond, class T> struct enable_if { typedef T type; }; argument
/external/clang/test/SemaCXX/
Dcxx0x-cursory-default-delete.cpp95 template<bool, typename = void> struct enable_if {}; struct
96 template<typename T> struct enable_if<true, T> { typedef T type; }; struct
Dalias-template.cpp148 template<> struct enable_if<true> { using type = void; }; argument
/external/clang/test/CodeGenCXX/
Dmangle-exprs.cpp36 struct enable_if { typedef T type; }; struct
39 struct enable_if< false, T > {}; struct
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h110 template <bool, class _Tp = void> struct enable_if {}; struct