/external/clang/test/SemaTemplate/ |
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<false, int>'; 'enable_if' cannot be used to disable this declaration} 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...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/ |
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
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/ |
enable_if.pass.cpp | 12 // enable_if 18 static_assert((std::is_same<std::enable_if<true>::type, void>::value), ""); 19 static_assert((std::is_same<std::enable_if<true, int>::type, int>::value), "");
|
enable_if.fail.cpp | 12 // enable_if 18 typedef std::enable_if<false>::type A;
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/iterator/detail/ |
enable_if.hpp | 16 // Boost iterators uses its own enable_if cause we need 41 // enable_if falls back to always enabled. See comments 68 struct enable_if struct in namespace:boost::iterators
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
cmath | 328 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type 352 typename std::enable_if<std::is_arithmetic<_A1>::value, int>::type 376 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type 400 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type 424 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type 448 typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type 472 typename std::enable_if 502 typename std::enable_if 532 typename std::enable_if 562 typename std::enable_if [all...] |
__functional_base_03 | 418 typename enable_if 430 typename enable_if 442 typename enable_if 454 typename enable_if 466 typename enable_if 478 typename enable_if 490 typename enable_if 502 typename enable_if 514 typename enable_if 526 typename enable_if [all...] |
valarray | 883 typename enable_if 891 typename enable_if 899 typename enable_if 907 typename enable_if 915 typename enable_if 923 typename enable_if 931 typename enable_if 939 typename enable_if 947 typename enable_if 955 typename enable_if [all...] |
exception | 193 throw_with_nested(_Tp&& __t, typename enable_if< 198 throw_with_nested (_Tp& __t, typename enable_if< 212 throw_with_nested(_Tp&& __t, typename enable_if< 217 throw_with_nested (_Tp& __t, typename enable_if< 230 rethrow_if_nested(const _Ep& __e, typename enable_if< 242 rethrow_if_nested(const _Ep&, typename enable_if<
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
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,
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/utility/ |
enable_if.hpp | 1 // Boost enable_if library 19 // Even the definition of enable_if causes problems on some compilers, 36 struct enable_if : public enable_if_c<Cond::value, T> {}; struct in namespace:boost 100 struct enable_if : enable_if_does_not_work_on_this_compiler<T>
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/ |
size_type.hpp | 24 #include <boost/utility/enable_if.hpp> 66 BOOST_DEDUCED_TYPENAME enable_if<has_size_type<C>, void>::type
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/ |
conj.pass.cpp | 26 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) 34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) 42 test(T x, typename std::enable_if<!std::is_integral<T>::value &&
|
proj.pass.cpp | 26 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) 34 test(T x, typename std::enable_if<std::is_floating_point<T>::value>::type* = 0) 42 test(T x, typename std::enable_if<!std::is_integral<T>::value &&
|
imag.pass.cpp | 24 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) 32 test(T x, typename std::enable_if<!std::is_integral<T>::value>::type* = 0)
|
real.pass.cpp | 24 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) 32 test(T x, typename std::enable_if<!std::is_integral<T>::value>::type* = 0)
|
pow.pass.cpp | 32 promote(T, typename std::enable_if<std::is_integral<T>::value>::type* = 0); 67 test(typename std::enable_if<std::is_integral<T>::value>::type* = 0, typename std::enable_if<!std::is_integral<U>::value>::type* = 0) 75 test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0, typename std::enable_if<!std::is_integral<U>::value>::type* = 0)
|
arg.pass.cpp | 24 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) 32 test(T x, typename std::enable_if<!std::is_integral<T>::value>::type* = 0)
|
norm.pass.cpp | 24 test(T x, typename std::enable_if<std::is_integral<T>::value>::type* = 0) 32 test(T x, typename std::enable_if<!std::is_integral<T>::value>::type* = 0)
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
utility.hpp | 15 #include <boost/utility/enable_if.hpp>
|
/external/clang/test/CodeGenCXX/ |
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) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
move02.pass.cpp | 70 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0) 76 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0); 80 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0)
|
move_convert08.fail.cpp | 82 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0) 88 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0); 92 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0)
|
move_convert11.fail.cpp | 82 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0) 88 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0); 92 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0)
|
pointer_deleter01.pass.cpp | 69 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0) 75 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0); 79 typename std::enable_if<!std::is_same<U, T>::value>::type* = 0)
|