Lines Matching refs:enable_if
47 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-… argument
54 template<typename Cond, typename T = void> struct enable_if : boost::enable_if<Cond::value, T> {}; struct
58 template<typename T> typename llvm::enable_if<is_int<T> >::type if_int(); // expected-note{{candida…
64 …typename boost::enable_if<sizeof(T) == 4, int>::type f(); // expected-error{{no type named 'type' …
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> argument
113 struct a_pony : std::enable_if<some_trait<T>::value> {};
127 using unicorns = typename std::enable_if<some_trait<T>::value>::type;