Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dzoned_time.h93 requires is_convertible_v<sys_time<_Duration2>, sys_time<_Duration>>
104 …requires(is_convertible_v<decltype(std::declval<_TimeZonePtr&>() -> to_sys(local_time<_Duration>{}…
111 … } && is_convertible_v<decltype(std::declval<_TimeZonePtr&>() -> to_sys(local_time<_Duration>{})),
116 requires(is_convertible_v<
124 …} && is_convertible_v<decltype(std::declval<_TimeZonePtr&>() -> to_sys(local_time<_Duration>{}, ch…
130 requires is_convertible_v<sys_time<_Duration2>, sys_time<_Duration>>
136 requires is_convertible_v<sys_time<_Duration2>, sys_time<_Duration>>
143 } && is_convertible_v<sys_time<_Duration2>, sys_time<_Duration>>)
150 } && is_convertible_v<sys_time<_Duration2>, sys_time<_Duration>>)
189 conditional_t<is_convertible_v<_TimeZonePtrOrName, string_view>,
H A Dconvert_to_tm.h127 if constexpr (is_convertible_v<_ChronoT, chrono::hours>) { in __convert_to_tm()
/freebsd/contrib/llvm-project/libcxx/include/__mdspan/
H A Dmdspan.h112 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) &&
120 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
129 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
151 …explicit(!is_convertible_v<const typename _OtherLayoutPolicy::template mapping<_OtherExtents>&, ma… in requires()
152 !is_convertible_v<const _OtherAccessor&, accessor_type>) in requires()
186 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) &&
198 requires(is_convertible_v<const _OtherIndexType&, index_type> && in requires()
207 requires(is_convertible_v<const _OtherIndexType&, index_type> && in requires()
271 requires((is_convertible_v<_OtherIndexTypes, size_t> && ...) && (sizeof...(_OtherIndexTypes) > 0))
276 requires((is_convertible_v<_OtherIndexTypes, size_t> && ...) && (sizeof...(_OtherIndexTypes) > 0))
H A Dlayout_left.h87 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<_OtherExtents, extents_type>) in requires()
99 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<_OtherExtents, extents_type>)
148 …requires((sizeof...(_Indices) == extents_type::rank()) && (is_convertible_v<_Indices, index_type> …
H A Dlayout_right.h86 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<_OtherExtents, extents_type>) in requires()
98 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<_OtherExtents, extents_type>)
147 …requires((sizeof...(_Indices) == extents_type::rank()) && (is_convertible_v<_Indices, index_type> …
H A Dlayout_stride.h173 requires(is_convertible_v<const _OtherIndexType&, index_type> && in requires()
212 requires(is_convertible_v<const _OtherIndexType&, index_type> && in requires()
223 !(is_convertible_v<typename _StridedLayoutMapping::extents_type, extents_type> && in requires()
280 requires((sizeof...(_Indices) == __rank_) && (is_convertible_v<_Indices, index_type> && ...) &&
H A Dextents.h314 requires((is_convertible_v<_OtherIndexTypes, index_type> && ...) &&
326 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
339 requires(is_convertible_v<const _OtherIndexType&, index_type> &&
466 requires(is_convertible_v<_IndexTypes, size_t> && ...)
470 requires(is_convertible_v<_IndexTypes, size_t> && ...)
H A Ddefault_accessor.h51 requires(is_convertible_v<_OtherElementType (*)[], element_type (*)[]>) in requires()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorOr.h88 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
99 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
106 std::enable_if_t<!std::is_convertible_v<OtherT, const T &>> * = nullptr) {
116 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
125 std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
H A Dtype_traits.h39 std::is_convertible_v<UnderlyingT, unsigned long long>);
H A DLogicalResult.h103 typename = std::enable_if_t<!std::is_convertible_v<T, bool>>>
H A DError.h523 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
541 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
550 std::enable_if_t<!std::is_convertible_v<OtherT, T>> * = nullptr) {
H A DFormatProviders.h50 std::is_convertible_v<T, llvm::StringRef>> {
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dcommon_reference.h78 is_convertible_v<_Ap&&, __common_ref_C<_Xp, _Yp>> &&
79 is_convertible_v<_Bp&&, __common_ref_C<_Xp, _Yp>>
95 is_convertible_v<_Ap&&, __common_ref_D<_Xp, _Yp>>
H A Dis_scoped_enum.h41 struct __is_scoped_enum_helper<_Tp, true> : public bool_constant<!is_convertible_v<_Tp, underlying_…
H A Dis_convertible.h109 inline constexpr bool is_convertible_v = is_convertible<_From, _To>::value; variable
/freebsd/contrib/llvm-project/libcxx/include/
H A Doptional600 return is_constructible_v<_Tp, _Up&&> && is_convertible_v<_Up&&, _Tp>;
605 return is_constructible_v<_Tp, _Up&&> && !is_convertible_v<_Up&&, _Tp>;
851 …static_assert(is_convertible_v<_Up, value_type>, "optional<T>::value_or: U must be convertible to …
858 …static_assert(is_convertible_v<_Up, value_type>, "optional<T>::value_or: U must be convertible to …
985 is_convertible_v<decltype(std::declval<const _Tp&>() == std::declval<const _Up&>()), bool>,
997 is_convertible_v<decltype(std::declval<const _Tp&>() != std::declval<const _Up&>()), bool>,
1009 is_convertible_v<decltype(std::declval<const _Tp&>() < std::declval<const _Up&>()), bool>,
1021 is_convertible_v<decltype(std::declval<const _Tp&>() > std::declval<const _Up&>()), bool>,
1033 is_convertible_v<decltype(std::declval<const _Tp&>() <= std::declval<const _Up&>()), bool>,
1045 is_convertible_v<decltype(std::declval<const _Tp&>() >= std::declval<const _Up&>()), bool>,
[all …]
H A Dmdspan106 constexpr explicit(!is_convertible_v<OtherExtents, extents_type>)
109 constexpr explicit(!is_convertible_v<OtherExtents, extents_type>)
160 constexpr explicit(!is_convertible_v<OtherExtents, extents_type>)
163 constexpr explicit(!is_convertible_v<OtherExtents, extents_type>)
375 requires((is_convertible_v<Integrals, size_t> && ...) && sizeof...(Integrals) > 0)
379 requires((is_convertible_v<Integrals, size_t> && ...) && sizeof...(Integrals) > 0)
H A Dsstream404 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
410 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
415 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
501 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
900 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
905 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
910 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
970 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
1036 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
1041 requires is_convertible_v<const _Tp&, basic_string_view<_CharT, _Traits>>
[all …]
H A Dspan215is_convertible_v<remove_reference_t<ranges::range_reference_t<_Range>> (*)[], _ElementType (*)[]>;
218 concept __span_array_convertible = is_convertible_v<_From (*)[], _To (*)[]>;
225 concept __span_compatible_sentinel_for = sized_sentinel_for<_Sentinel, _It> && !is_convertible_v<_S…
/freebsd/contrib/llvm-project/libcxx/include/__concepts/
H A Dderived_from.h27 concept derived_from = is_base_of_v<_Bp, _Dp> && is_convertible_v<const volatile _Dp*, const volati…
H A Dconvertible_to.h27 concept convertible_to = is_convertible_v<_From, _To> && requires { static_cast<_To>(std::declval<_…
/freebsd/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h539 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<const _Up&, _Tp> ||
540 !is_convertible_v<const _OtherErr&, _Err>)
548 …_LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<_Up, _Tp> || !is_convertible_v<_OtherEr…
557 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<_Up, _Tp>)
563 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<const _OtherErr&, _Err>) expected(
569 _LIBCPP_HIDE_FROM_ABI constexpr explicit(!is_convertible_v<_OtherErr, _Err>)
887 static_assert(is_convertible_v<_Up, _Tp>, "argument has to be convertible to value_type");
894 static_assert(is_convertible_v<_Up, _Tp>, "argument has to be convertible to value_type");
901 static_assert(is_convertible_v<_Up, _Err>, "argument has to be convertible to error_type");
910 static_assert(is_convertible_v<_Up, _Err>, "argument has to be convertible to error_type");
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Denable_view.h37 requires is_convertible_v<_Op*, view_interface<_Yp>*>
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm

12