/external/libcxx/test/std/utilities/meta/meta.rel/ |
H A D | is_convertible.pass.cpp | 12 // is_convertible 20 static_assert((std::is_convertible<T, U>::value), ""); 21 static_assert((std::is_convertible<const T, U>::value), ""); 22 static_assert((std::is_convertible<T, const U>::value), ""); 23 static_assert((std::is_convertible<const T, const U>::value), ""); 35 static_assert((!std::is_convertible<T, U>::value), ""); 36 static_assert((!std::is_convertible<const T, U>::value), ""); 37 static_assert((!std::is_convertible<T, const U>::value), ""); 38 static_assert((!std::is_convertible<const T, const U>::value), ""); 86 static_assert(( std::is_convertible<Functio [all...] |
/external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/ |
H A D | bool.pass.cpp | 28 static_assert((!std::is_convertible<std::ios, void*>::value), ""); 29 static_assert((!std::is_convertible<std::ios, int>::value), ""); 30 static_assert((!std::is_convertible<std::ios const&, int>::value), ""); 32 static_assert((!std::is_convertible<std::ios, bool>::value), "");
|
/external/libcxx/test/std/thread/futures/futures.future_error/ |
H A D | types.pass.cpp | 21 static_assert((std::is_convertible<std::future_error*,
|
/external/clang/test/PCH/ |
H A D | 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/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.ctors/ |
H A D | element_type.explicit.ctor.pass.cpp | 25 static_assert(!std::is_convertible<P, int>::value, "");
|
H A D | convertible_element_type.explicit.ctor.pass.cpp | 25 static_assert(!std::is_convertible<P, X>::value, "");
|
H A D | convertible_propagate_const.explicit.move_ctor.pass.cpp | 26 static_assert(!std::is_convertible<PY, PX &&>::value, "");
|
/external/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.non-const_observers/ |
H A D | explicit_operator_element_type_ptr.pass.cpp | 24 int main() { static_assert(!std::is_convertible<P, int *>::value, ""); }
|
/external/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.class/propagate_const.observers/ |
H A D | explicit_operator_element_type_ptr.pass.cpp | 25 static_assert(!std::is_convertible<const P, const int *>::value, "");
|
/external/libcxx/test/std/utilities/optional/optional.bad_optional_access/ |
H A D | derive.pass.cpp | 24 static_assert(std::is_convertible<bad_optional_access*, std::exception*>::value, "");
|
/external/parameter-framework/asio/include/asio/detail/ |
H A D | type_traits.hpp | 24 using std::is_convertible;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
H A D | type_traits.hpp | 24 using std::is_convertible;
|
/external/libcxx/test/std/experimental/filesystem/class.directory_entry/directory_entry.obs/ |
H A D | path.pass.cpp | 55 static_assert(std::is_convertible<directory_entry&, path const&>::value, ""); 56 static_assert(std::is_convertible<directory_entry const&, path const&>::value, ""); 57 static_assert(std::is_convertible<directory_entry &&, path const&>::value, ""); 58 static_assert(std::is_convertible<directory_entry const&&, path const&>::value, ""); 60 static_assert(!std::is_convertible<directory_entry&, path&>::value, ""); 61 static_assert(!std::is_convertible<directory_entry const&, path&>::value, ""); 62 static_assert(!std::is_convertible<directory_entry &&, path&>::value, ""); 63 static_assert(!std::is_convertible<directory_entry const&&, path&>::value, "");
|
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/ |
H A D | memory_resource_convert.pass.cpp | 31 std::is_convertible<decltype(nullptr), A>::value 35 std::is_convertible<ex::memory_resource *, A>::value
|
H A D | other_alloc.pass.cpp | 32 std::is_convertible<A1 const &, A2>::value, "" 35 std::is_convertible<A2 const &, A1>::value, ""
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/ |
H A D | bool.pass.cpp | 27 static_assert(!std::is_convertible<optional<int>, bool>::value, "");
|
/external/eigen/test/ |
H A D | meta.cpp | 15 return internal::is_convertible<From,To>::value; 61 VERIFY(( internal::is_convertible<float,double>::value )); 62 VERIFY(( internal::is_convertible<int,double>::value )); 63 VERIFY(( internal::is_convertible<double,int>::value )); 64 VERIFY((!internal::is_convertible<std::complex<double>,double>::value )); 65 VERIFY(( internal::is_convertible<Array33f,Matrix3f>::value )); 66 // VERIFY((!internal::is_convertible<Matrix3f,Matrix3d>::value )); //does not work because the conversion is prevented by a static assertion 67 VERIFY((!internal::is_convertible<Array33f,int>::value )); 68 VERIFY((!internal::is_convertible<MatrixXf,float>::value ));
|
/external/libchrome/base/memory/ |
H A D | raw_scoped_refptr_mismatch_checker.h | 33 (std::is_convertible<T, subtle::RefCountedBase*>::value || 34 std::is_convertible<T, subtle::RefCountedThreadSafeBase*>::value))
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
H A D | explicit_bool.pass.cpp | 45 static_assert(!std::is_convertible<U, bool>::value, ""); 46 static_assert(!std::is_convertible<U const&, bool>::value, "");
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | PR31384.pass.cpp | 64 static_assert(!std::is_convertible< 74 static_assert(std::is_convertible< 78 static_assert(!std::is_convertible<
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
H A D | 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), "");
|
/external/libcxx/test/libcxx/utilities/memory/util.dynamic.safety/ |
H A D | get_pointer_safety_new_abi.pass.cpp | 26 static_assert(!std::is_convertible<std::pointer_safety, int>::value, "");
|
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/ |
H A D | operator_string.pass.cpp | 35 static_assert(std::is_convertible<path, string_type>::value, "");
|
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ |
H A D | ctor_codecvt.pass.cpp | 36 static_assert(!std::is_convertible<Codecvt*, Myconv>::value, "");
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
H A D | 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), "");
|