/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.rel/ |
is_convertible.pass.cpp | 12 // is_convertible 26 static_assert(( std::is_convertible<void, void>::value), ""); 27 static_assert(( std::is_convertible<const void, void>::value), ""); 28 static_assert(( std::is_convertible<void, const void>::value), ""); 29 static_assert(( std::is_convertible<const void, const void>::value), ""); 31 static_assert((!std::is_convertible<void, Function>::value), ""); 32 static_assert((!std::is_convertible<const void, Function>::value), ""); 34 static_assert((!std::is_convertible<void, Function&>::value), ""); 35 static_assert((!std::is_convertible<const void, Function&>::value), ""); 37 static_assert((!std::is_convertible<void, Function*>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.future_error/ |
types.pass.cpp | 19 static_assert((std::is_convertible<std::future_error*,
|
/external/clang/test/PCH/ |
crash-12631281.cpp | 12 template < class _T2> struct is_convertible; 13 template <> struct is_convertible<int> { typedef int type; }; struct 18 template <class _U1, class _U2, class = typename is_convertible< first_type>::type>
|
/external/chromium/base/ |
template_util_unittest.cc | 44 // EXPECT_TRUE( (is_convertible < Child), (Parent > ::value)); 47 EXPECT_TRUE( (is_convertible<Child, Parent>::value) ); 48 EXPECT_FALSE( (is_convertible<Parent, Child>::value) ); 49 EXPECT_FALSE( (is_convertible<Parent, AStruct>::value) ); 51 EXPECT_TRUE( (is_convertible<int, double>::value) ); 52 EXPECT_TRUE( (is_convertible<int*, void*>::value) ); 53 EXPECT_FALSE( (is_convertible<void*, int*>::value) );
|
template_util.h | 50 // This class is an implementation detail for is_convertible, and you 51 // don't need to know how it works to use is_convertible. For those 87 struct is_convertible struct in namespace:base
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/istream.iterator/ |
types.pass.cpp | 29 static_assert((std::is_convertible<I1, 36 static_assert((std::is_convertible<I2,
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/ostream.iterator/ |
types.pass.cpp | 29 static_assert((std::is_convertible<I1, 35 static_assert((std::is_convertible<I2,
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
shared_ptr_Y.pass.cpp | 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::weak_ptr<B> >::value), ""); 57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::shared_ptr<A> >::value), ""); 58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::weak_ptr<C> >::value), "");
|
weak_ptr_Y.pass.cpp | 56 static_assert(( std::is_convertible<std::weak_ptr<A>, std::weak_ptr<B> >::value), ""); 57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::weak_ptr<A> >::value), ""); 58 static_assert((!std::is_convertible<std::weak_ptr<A>, std::weak_ptr<C> >::value), "");
|
/external/stlport/test/unit/ |
reference_wrapper_test.cpp | 31 CPPUNIT_CHECK( (::boost::is_convertible<rr_type, int&>::value) ); 62 CPPUNIT_CHECK( (::boost::is_convertible<crr_type, const int&>::value) );
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/istreambuf.iterator/ |
types.pass.cpp | 33 static_assert((std::is_convertible<I1, 43 static_assert((std::is_convertible<I2,
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/ostreambuf.iterator/ |
types.pass.cpp | 30 static_assert((std::is_convertible<I1, 38 static_assert((std::is_convertible<I2,
|
/ndk/tests/device/test-gnustl-full/unit/ |
reference_wrapper_test.cpp | 31 CPPUNIT_CHECK( (::boost::is_convertible<rr_type, int&>::value) ); 62 CPPUNIT_CHECK( (::boost::is_convertible<crr_type, const int&>::value) );
|
/ndk/tests/device/test-stlport/unit/ |
reference_wrapper_test.cpp | 31 CPPUNIT_CHECK( (::boost::is_convertible<rr_type, int&>::value) ); 62 CPPUNIT_CHECK( (::boost::is_convertible<crr_type, const int&>::value) );
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
stl_pair.h | 114 enable_if<__and_<is_convertible<const _U1&, _T1>, 115 is_convertible<const _U2&, _T2>>::value>::type> 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>, 135 is_convertible<_U2, _T2>>::value>::type> 140 enable_if<__and_<is_convertible<_U1, _T1>, 141 is_convertible<_U2, _T2>>::value>::type>
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
shared_ptr_Y.pass.cpp | 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), ""); 57 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), ""); 58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::shared_ptr<C> >::value), "");
|
shared_ptr_Y_rv.pass.cpp | 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), ""); 57 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), ""); 58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::shared_ptr<C> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.submatch/ |
types.pass.cpp | 38 static_assert((std::is_convertible<SM*, std::pair<char*, char*>*>::value), ""); 51 static_assert((std::is_convertible<SM*, std::pair<wchar_t*, wchar_t*>*>::value), "");
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
unique_ptr.h | 55 std::enable_if<std::is_convertible<_Up*, _Tp*>::value>::type> 147 <std::is_convertible<typename unique_ptr<_Up, _Ep>::pointer, 153 && std::is_convertible<_Ep, _Dp>::value))> 161 std::enable_if<std::is_convertible<_Up*, _Tp*>::value 182 <std::is_convertible<typename unique_ptr<_Up, _Ep>::pointer, 411 typename std::enable_if<std::is_convertible<_Up*, 416 typename std::enable_if<std::is_convertible<_Up*, 421 unique_ptr(_Up*, typename std::enable_if<std::is_convertible<_Up*,
|
stl_pair.h | 119 std::enable_if<std::is_convertible<_U1, _T1>::value>::type> 124 std::enable_if<std::is_convertible<_U2, _T2>::value>::type> 129 std::enable_if<std::is_convertible<_U1, _T1>::value 130 && std::is_convertible<_U2, _T2>::value>::type>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
unique_ptr.h | 55 std::enable_if<std::is_convertible<_Up*, _Tp*>::value>::type> 147 <std::is_convertible<typename unique_ptr<_Up, _Ep>::pointer, 153 && std::is_convertible<_Ep, _Dp>::value))> 161 std::enable_if<std::is_convertible<_Up*, _Tp*>::value 182 <std::is_convertible<typename unique_ptr<_Up, _Ep>::pointer, 411 typename std::enable_if<std::is_convertible<_Up*, 416 typename std::enable_if<std::is_convertible<_Up*, 421 unique_ptr(_Up*, typename std::enable_if<std::is_convertible<_Up*,
|
stl_pair.h | 119 std::enable_if<std::is_convertible<_U1, _T1>::value>::type> 124 std::enable_if<std::is_convertible<_U2, _T2>::value>::type> 129 std::enable_if<std::is_convertible<_U1, _T1>::value 130 && std::is_convertible<_U2, _T2>::value>::type>
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
unique_ptr.h | 55 std::enable_if<std::is_convertible<_Up*, _Tp*>::value>::type> 147 <std::is_convertible<typename unique_ptr<_Up, _Ep>::pointer, 153 && std::is_convertible<_Ep, _Dp>::value))> 161 std::enable_if<std::is_convertible<_Up*, _Tp*>::value 182 <std::is_convertible<typename unique_ptr<_Up, _Ep>::pointer, 411 typename std::enable_if<std::is_convertible<_Up*, 416 typename std::enable_if<std::is_convertible<_Up*, 421 unique_ptr(_Up*, typename std::enable_if<std::is_convertible<_Up*,
|
stl_pair.h | 119 std::enable_if<std::is_convertible<_U1, _T1>::value>::type> 124 std::enable_if<std::is_convertible<_U2, _T2>::value>::type> 129 std::enable_if<std::is_convertible<_U1, _T1>::value 130 && std::is_convertible<_U2, _T2>::value>::type>
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
stl_pair.h | 88 std::enable_if<std::is_convertible<_U1, _T1>::value>::type> 93 std::enable_if<std::is_convertible<_U2, _T2>::value>::type> 98 std::enable_if<std::is_convertible<_U1, _T1>::value 99 && std::is_convertible<_U2, _T2>::value>::type>
|