Home
last modified time | relevance | path

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

/external/clang/test/SemaTemplate/
Doverload-candidates.cpp45 template<bool, typename = void> struct enable_if {}; struct
46 template<typename T> struct enable_if<true, T> { typedef T type; }; struct
48 template<typename T> typename boost::enable_if<sizeof(T) == 4, int>::type if_size_4(); // expected-…
52 template<typename Cond, typename T = void> struct enable_if : boost::enable_if<Cond::value, T> {}; struct
Dconstexpr-instantiate.cpp168 template<bool, typename> struct enable_if {}; struct
169 template<typename T> struct enable_if<true, T> { using type = T; }; argument
/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/CodeGenCXX/
Dmangle-exprs.cpp36 struct enable_if { typedef T type; }; argument
39 struct enable_if< false, T > {}; struct
/external/clang/test/SemaCXX/
Dalias-template.cpp150 template<> struct enable_if<true> { using type = void; }; struct
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-bind.cpp257 struct enable_if<true, T> { struct
262 struct enable_if<false, T> { }; argument