Home
last modified time | relevance | path

Searched refs:is_convertible_v (Results 1 – 25 of 96) sorted by relevance

1234

/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.utility/range.subrange/
Dctor.pair_like_conv.pass.cpp22 static_assert( std::is_convertible_v<ForwardSubrange, std::pair<ForwardIter, ForwardIter>>);
23 static_assert( std::is_convertible_v<ForwardSubrange, std::tuple<ForwardIter, ForwardIter>>);
24 static_assert(!std::is_convertible_v<ForwardSubrange, std::tuple<ForwardIter, ForwardIter>&>);
25 static_assert(!std::is_convertible_v<ForwardSubrange, std::tuple<ForwardIter, ForwardIter, ForwardI…
26 static_assert( std::is_convertible_v<ConvertibleForwardSubrange, std::tuple<ConvertibleForwardIter,…
27 static_assert(!std::is_convertible_v<SizedIntPtrSubrange, std::tuple<long*, int*>>);
28 static_assert( std::is_convertible_v<SizedIntPtrSubrange, std::tuple<int*, int*>>);
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/
Dnoncopyable_return_type.pass.cpp108 …static_assert(std::is_convertible_v<NonCopyable (LargeLambda::*)(), std::function<NonCopyable(Larg… in member_pointer_test()
109 …static_assert(std::is_convertible_v<NonCopyable (LargeLambda::*)(), std::function<NonCopyable(Larg… in member_pointer_test()
110 …static_assert(std::is_convertible_v<NonCopyable (LargeLambda::*)() const, std::function<NonCopyabl… in member_pointer_test()
111 …static_assert(std::is_convertible_v<NonCopyable (LargeLambda::*)() const, std::function<NonCopyabl… in member_pointer_test()
112 …static_assert(std::is_convertible_v<NonCopyable (LargeLambda::*)() const, std::function<NonCopyabl… in member_pointer_test()
113 …static_assert(std::is_convertible_v<NonCopyable (LargeLambda::*)() const, std::function<NonCopyabl… in member_pointer_test()
116 …static_assert(!std::is_convertible_v<NonCopyable LargeLambda::*, std::function<NonCopyable(LargeLa… in member_pointer_test()
117 …static_assert(!std::is_convertible_v<NonCopyable LargeLambda::*, std::function<NonCopyable(LargeLa… in member_pointer_test()
118 …static_assert(!std::is_convertible_v<NonCopyable LargeLambda::*, std::function<NonCopyable&(const … in member_pointer_test()
119 …static_assert(std::is_convertible_v<NonCopyable LargeLambda::*, std::function<NonCopyable&(LargeLa… in member_pointer_test()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/iterators/predef.iterators/move.iterators/move.sentinel/
Dctor.converting.pass.cpp30 static_assert(std::is_convertible_v<long, NonConvertible>);
50 static_assert( std::is_convertible_v<std::move_sentinel<int>, std::move_sentinel<long>>); in test()
51 static_assert( std::is_convertible_v<std::move_sentinel<int*>, std::move_sentinel<const int*>>); in test()
52 static_assert(!std::is_convertible_v<std::move_sentinel<const int*>, std::move_sentinel<int*>>); in test()
53 …static_assert( std::is_convertible_v<std::move_sentinel<int>, std::move_sentinel<NonConvertible>>); in test()
54 …static_assert(!std::is_convertible_v<std::move_sentinel<long>, std::move_sentinel<NonConvertible>>… in test()
Dctor.sentinel.pass.cpp25 static_assert(!std::is_convertible_v<int, std::move_sentinel<int>>); in test()
32 static_assert(!std::is_convertible_v<int*, std::move_sentinel<int*>>); in test()
45 static_assert(!std::is_convertible_v<S, std::move_sentinel<S>>); in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/algorithms/algorithms.results/
Din_out_out_result.pass.cpp41 static_assert(std::is_convertible_v<std::ranges::in_out_out_result<int, int, int>&, std::ranges::in…
42 static_assert(std::is_convertible_v<const std::ranges::in_out_out_result<int, int, int>&, std::rang…
43 static_assert(std::is_convertible_v<std::ranges::in_out_out_result<int, int, int>&&, std::ranges::i…
44 static_assert(std::is_convertible_v<const std::ranges::in_out_out_result<int, int, int>&&, std::ran…
57 static_assert(!std::is_convertible_v<std::ranges::in_out_out_result<NotConvertible, int, int>, std:…
58 static_assert(!std::is_convertible_v<std::ranges::in_out_out_result<int, NotConvertible, int>, std:…
59 static_assert(!std::is_convertible_v<std::ranges::in_out_out_result<int, int, NotConvertible>, std:…
Din_in_out_result.pass.cpp42 static_assert(std::is_convertible_v<std::ranges::in_in_out_result<int, int, int>&, std::ranges::in_…
43 static_assert(std::is_convertible_v<const std::ranges::in_in_out_result<int, int, int>&, std::range…
44 static_assert(std::is_convertible_v<std::ranges::in_in_out_result<int, int, int>&&, std::ranges::in…
45 static_assert(std::is_convertible_v<const std::ranges::in_in_out_result<int, int, int>&&, std::rang…
59 static_assert(!std::is_convertible_v<std::ranges::in_in_out_result<NotConvertible, int, int>, std::…
60 static_assert(!std::is_convertible_v<std::ranges::in_in_out_result<int, NotConvertible, int>, std::…
61 static_assert(!std::is_convertible_v<std::ranges::in_in_out_result<int, int, NotConvertible>, std::…
Din_out_result.pass.cpp41 static_assert(std::is_convertible_v<std::ranges::in_out_result<int, int>&, std::ranges::in_out_resu…
42 static_assert(std::is_convertible_v<const std::ranges::in_out_result<int, int>&, std::ranges::in_ou…
43 static_assert(std::is_convertible_v<std::ranges::in_out_result<int, int>&&, std::ranges::in_out_res…
44 static_assert(std::is_convertible_v<const std::ranges::in_out_result<int, int>&&, std::ranges::in_o…
52 static_assert(!std::is_convertible_v<std::ranges::in_out_result<NotConvertible, int>, std::ranges::…
53 static_assert(!std::is_convertible_v<std::ranges::in_out_result<int, NotConvertible>, std::ranges::…
Din_in_result.pass.cpp41 static_assert(std::is_convertible_v<std::ranges::in_in_result<int, int>&, std::ranges::in_in_result…
42 static_assert(std::is_convertible_v<const std::ranges::in_in_result<int, int>&, std::ranges::in_in_…
43 static_assert(std::is_convertible_v<std::ranges::in_in_result<int, int>&&, std::ranges::in_in_resul…
44 static_assert(std::is_convertible_v<const std::ranges::in_in_result<int, int>&&, std::ranges::in_in…
52 static_assert(!std::is_convertible_v<std::ranges::in_in_result<NotConvertible, int>, std::ranges::i…
53 static_assert(!std::is_convertible_v<std::ranges::in_in_result<int, NotConvertible>, std::ranges::i…
Din_fun_result.pass.cpp42 static_assert(std::is_convertible_v<std::ranges::in_fun_result<int, int>&, std::ranges::in_fun_resu…
43 static_assert(std::is_convertible_v<const std::ranges::in_fun_result<int, int>&, std::ranges::in_fu…
44 static_assert(std::is_convertible_v<std::ranges::in_fun_result<int, int>&&, std::ranges::in_fun_res…
45 static_assert(std::is_convertible_v<const std::ranges::in_fun_result<int, int>&&, std::ranges::in_f…
57 static_assert(!std::is_convertible_v<std::ranges::in_fun_result<NotConvertible, int>, std::ranges::…
58 static_assert(!std::is_convertible_v<std::ranges::in_fun_result<int, NotConvertible>, std::ranges::…
Dmin_max_result.pass.cpp41 static_assert(std::is_convertible_v<std::ranges::min_max_result<int>&, std::ranges::min_max_result<…
42 static_assert(std::is_convertible_v<const std::ranges::min_max_result<int>&, std::ranges::min_max_r…
43 static_assert(std::is_convertible_v<std::ranges::min_max_result<int>&&, std::ranges::min_max_result…
44 static_assert(std::is_convertible_v<const std::ranges::min_max_result<int>&&, std::ranges::min_max_…
54 static_assert(!std::is_convertible_v<std::ranges::min_max_result<NotConvertible>, std::ranges::min_…
Din_found_result.pass.cpp42 static_assert(std::is_convertible_v<std::ranges::in_found_result<int>&, std::ranges::in_found_resul…
43 static_assert(std::is_convertible_v<const std::ranges::in_found_result<int>&, std::ranges::in_found…
44 static_assert(std::is_convertible_v<std::ranges::in_found_result<int>&&, std::ranges::in_found_resu…
45 static_assert(std::is_convertible_v<const std::ranges::in_found_result<int>&&, std::ranges::in_foun…
55 static_assert(!std::is_convertible_v<std::ranges::in_found_result<NotConvertible>, std::ranges::in_…
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/views/views.span/span.cons/
Drange.pass.cpp70 static_assert(std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<const char>>);
71 static_assert(!std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<const char, 3>>);
72 static_assert(!std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<char>>);
73 static_assert(!std::is_convertible_v<BorrowedContiguousSizedRange&, std::span<char, 3>>);
74 static_assert(std::is_convertible_v<const BorrowedContiguousSizedRange&, std::span<const char>>);
75 static_assert(!std::is_convertible_v<const BorrowedContiguousSizedRange&, std::span<const char, 3>>…
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.all/range.owning.view/
Dconstructor.pass.cpp65 static_assert(!std::is_convertible_v<int, OwningView>); in test()
66 static_assert(std::is_convertible_v<DefaultConstructible&&, OwningView>); in test()
88 static_assert(!std::is_convertible_v<int, OwningView>); in test()
89 static_assert(std::is_convertible_v<NotDefaultConstructible&&, OwningView>); in test()
107 static_assert(!std::is_convertible_v<int, OwningView>); in test()
108 static_assert(std::is_convertible_v<MoveChecker&&, OwningView>); in test()
/external/pigweed/pw_minimal_cpp_stdlib/
Disolated_test.cc365 static_assert(std::is_convertible_v<std::forward_iterator_tag, in TEST()
368 static_assert(std::is_convertible_v<std::bidirectional_iterator_tag, in TEST()
370 static_assert(std::is_convertible_v<std::bidirectional_iterator_tag, in TEST()
373 static_assert(std::is_convertible_v<std::random_access_iterator_tag, in TEST()
375 static_assert(std::is_convertible_v<std::random_access_iterator_tag, in TEST()
377 static_assert(std::is_convertible_v<std::random_access_iterator_tag, in TEST()
381 static_assert(std::is_convertible_v<std::contiguous_iterator_tag, in TEST()
383 static_assert(std::is_convertible_v<std::contiguous_iterator_tag, in TEST()
385 static_assert(std::is_convertible_v<std::contiguous_iterator_tag, in TEST()
387 static_assert(std::is_convertible_v<std::contiguous_iterator_tag, in TEST()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/meta/meta.rel/
Dis_convertible.pass.cpp24 static_assert((std::is_convertible_v<T, U>), ""); in test_is_convertible()
25 static_assert((std::is_convertible_v<const T, U>), ""); in test_is_convertible()
26 static_assert((std::is_convertible_v<T, const U>), ""); in test_is_convertible()
27 static_assert((std::is_convertible_v<const T, const U>), ""); in test_is_convertible()
39 static_assert((!std::is_convertible_v<T, U>), ""); in test_is_not_convertible()
40 static_assert((!std::is_convertible_v<const T, U>), ""); in test_is_not_convertible()
41 static_assert((!std::is_convertible_v<T, const U>), ""); in test_is_not_convertible()
42 static_assert((!std::is_convertible_v<const T, const U>), ""); in test_is_not_convertible()
/external/libcxx/test/std/utilities/meta/meta.rel/
Dis_convertible.pass.cpp25 static_assert((std::is_convertible_v<T, U>), ""); in test_is_convertible()
26 static_assert((std::is_convertible_v<const T, U>), ""); in test_is_convertible()
27 static_assert((std::is_convertible_v<T, const U>), ""); in test_is_convertible()
28 static_assert((std::is_convertible_v<const T, const U>), ""); in test_is_convertible()
40 static_assert((!std::is_convertible_v<T, U>), ""); in test_is_not_convertible()
41 static_assert((!std::is_convertible_v<const T, U>), ""); in test_is_not_convertible()
42 static_assert((!std::is_convertible_v<T, const U>), ""); in test_is_not_convertible()
43 static_assert((!std::is_convertible_v<const T, const U>), ""); in test_is_not_convertible()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/utility/pairs/pairs.pair/
Dctor.pair_U_V_const_move.pass.cpp40 static_assert( std::is_convertible_v<const std::pair<X, Y>&&,
42 static_assert(!std::is_convertible_v<const std::pair<X, Y>&&,
44 static_assert(!std::is_convertible_v<const std::pair<X, Y>&&,
46 static_assert(!std::is_convertible_v<const std::pair<X, Y>&&,
Dctor.pair_U_V_ref.pass.cpp39 static_assert( std::is_convertible_v<std::pair<X, Y>&, std::pair<ConvertibleFrom<X>, ConvertibleFro…
40 static_assert(!std::is_convertible_v<std::pair<X, Y>&, std::pair<ConvertibleFrom<X>, ExplicitConstr…
41 static_assert(!std::is_convertible_v<std::pair<X, Y>&, std::pair<ExplicitConstructibleFrom<X>, Conv…
42 static_assert(!std::is_convertible_v<std::pair<X, Y>&, std::pair<ExplicitConstructibleFrom<X>, Expl…
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dconvert_non_const_copy.pass.cpp37 static_assert(std::is_convertible_v<std::tuple<MutableCopy>&, std::tuple<ConvertibleFrom<MutableCop…
39 static_assert(std::is_convertible_v<std::tuple<MutableCopy, MutableCopy>&,
42 static_assert(!std::is_convertible_v<std::tuple<MutableCopy>&, std::tuple<ExplicitConstructibleFrom…
44 static_assert(!std::is_convertible_v<std::tuple<MutableCopy, MutableCopy>&,
Dconvert_const_move.pass.cpp38 static_assert(std::is_convertible_v<const std::tuple<ConstMove>&&, std::tuple<ConvertibleFrom<Const…
40 static_assert(std::is_convertible_v<const std::tuple<ConstMove, ConstMove>&&,
44 …!std::is_convertible_v<const std::tuple<MutableCopy>&&, std::tuple<ExplicitConstructibleFrom<Const…
46 static_assert(!std::is_convertible_v<const std::tuple<ConstMove, ConstMove>&&,
Dconst_move_pair.pass.cpp51 static_assert(std::is_convertible_v<const std::pair<ConstMove, ConstMove>&&,
54 static_assert(!std::is_convertible_v<const std::pair<ConstMove, ConstMove>&&,
57 static_assert(!std::is_convertible_v<const std::pair<ConstMove, ConstMove>&&,
Dnon_const_pair.pass.cpp50 static_assert(std::is_convertible_v<std::pair<MutableCopy, MutableCopy>&,
53 static_assert(!std::is_convertible_v<std::pair<MutableCopy, MutableCopy>&,
56 static_assert(!std::is_convertible_v<std::pair<MutableCopy, MutableCopy>&,
/external/webrtc/api/
Dmake_ref_counted.h82 typename std::enable_if<std::is_convertible_v<T*, RefCountInterface*> &&
95 !std::is_convertible_v<T*, RefCountInterface*> &&
108 !std::is_convertible_v<T*, RefCountInterface*> &&
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.ctor/
Dmemory_resource_convert.pass.cpp30 static_assert(std::is_convertible_v<decltype(nullptr), A>); in main()
31 static_assert(std::is_convertible_v<std::pmr::memory_resource*, A>); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer.value/
Dctor.iter.pass.cpp19 static_assert(!std::is_convertible_v<OuterIterForward, ValueTypeForward>);
20 static_assert(!std::is_convertible_v<OuterIterInput, ValueTypeInput>);

1234