Lines Matching defs:enable_if
4 template <bool B, class T = void> struct enable_if { typedef T type; };
6 template <class T> struct enable_if<true, T> { typedef T type; };
9 using enable_if_t = typename enable_if<B, T>::type;
15 template <class T> struct enable_if { typedef T type; };
42 Test1(T &&n, typename foo::enable_if<long>::type i = 5, ...);
58 // Guarded with enable_if.
63 // Guarded with enable_if.
64 template <typename T, typename X = typename std::enable_if<
68 // Guarded with enable_if.
70 Test2(T &&n, typename std::enable_if<just_true<T>>::type **a = nullptr);
72 // Guarded with enable_if.
171 // Handle enable_if when used as a non-type template parameter.
174 // Guarded with enable_if.
179 // Guarded with enable_if.
190 // Handle enable_if when used as a non-type template parameter following
194 // Guarded with enable_if.
224 // Only std::enable_if or std::enable_if_t are supported
232 // Only std::enable_if or std::enable_if_t are supported
234 typename foo::enable_if<T>::type = 0>