/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/ |
enable_if.fail.cpp | 12 // enable_if 18 typedef std::enable_if<false>::type A;
|
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), "");
|
/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/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
utility.hpp | 15 #include <boost/utility/enable_if.hpp>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/ |
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)
|
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)
|
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)
|
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)
|
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 &&
|
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)
|
/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,
|
/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/ |
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)
|
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)
|
/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/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/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>
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
alloc_traits.h | 224 enable_if<__allocate_helper<_Alloc2>::value, pointer>::type 230 enable_if<!__allocate_helper<_Alloc2>::value, pointer>::type 251 enable_if<__construct_helper<_Tp, _Args...>::value, void>::type 257 enable_if<!__construct_helper<_Tp, _Args...>::value, void>::type 277 static typename enable_if<__destroy_helper<_Tp>::value, void>::type 282 static typename enable_if<!__destroy_helper<_Tp>::value, void>::type 302 enable_if<__maxsize_helper<_Alloc2>::value, size_type>::type 308 enable_if<!__maxsize_helper<_Alloc2>::value, size_type>::type 328 enable_if<__select_helper<_Alloc2>::value, _Alloc2>::type 334 enable_if<!__select_helper<_Alloc2>::value, _Alloc2>::typ [all...] |
stl_pair.h | 114 enable_if<__and_<is_convertible<const _U1&, _T1>, 124 enable_if<is_convertible<_U1, _T1>::value>::type> 129 enable_if<is_convertible<_U2, _T2>::value>::type> 134 enable_if<__and_<is_convertible<_U1, _T1>, 140 enable_if<__and_<is_convertible<_U1, _T1>,
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
alloc_traits.h | 224 enable_if<__allocate_helper<_Alloc2>::value, pointer>::type 230 enable_if<!__allocate_helper<_Alloc2>::value, pointer>::type 251 enable_if<__construct_helper<_Tp, _Args...>::value, void>::type 257 enable_if<!__construct_helper<_Tp, _Args...>::value, void>::type 277 static typename enable_if<__destroy_helper<_Tp>::value, void>::type 282 static typename enable_if<!__destroy_helper<_Tp>::value, void>::type 302 enable_if<__maxsize_helper<_Alloc2>::value, size_type>::type 308 enable_if<!__maxsize_helper<_Alloc2>::value, size_type>::type 328 enable_if<__select_helper<_Alloc2>::value, _Alloc2>::type 334 enable_if<!__select_helper<_Alloc2>::value, _Alloc2>::typ [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/ |
alloc_traits.h | 225 enable_if<__allocate_helper<_Alloc2>::value, pointer>::type 231 enable_if<!__allocate_helper<_Alloc2>::value, pointer>::type 252 enable_if<__construct_helper<_Tp, _Args...>::value, void>::type 258 enable_if<__and_<__not_<__construct_helper<_Tp, _Args...>>, 279 static typename enable_if<__destroy_helper<_Tp>::value, void>::type 284 static typename enable_if<!__destroy_helper<_Tp>::value, void>::type 304 enable_if<__maxsize_helper<_Alloc2>::value, size_type>::type 310 enable_if<!__maxsize_helper<_Alloc2>::value, size_type>::type 330 enable_if<__select_helper<_Alloc2>::value, _Alloc2>::type 336 enable_if<!__select_helper<_Alloc2>::value, _Alloc2>::typ [all...] |