Home
last modified time | relevance | path

Searched refs:is_constructible_v (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-head/contrib/llvm-project/libcxx/include/__functional/
HDbind_back.h54 requires is_constructible_v<decay_t<_Fn>, _Fn> && is_move_constructible_v<decay_t<_Fn>> &&
55 …(is_constructible_v<decay_t<_Args>, _Args> && ...) && (is_move_constructible_v<decay_t<_Args>> && …
68 …static_assert(is_constructible_v<decay_t<_Fn>, _Fn>, "bind_back requires decay_t<F> to be construc…
70 static_assert((is_constructible_v<decay_t<_Args>, _Args> && ...),
HDbind_front.h44 requires is_constructible_v<decay_t<_Fn>, _Fn> && is_move_constructible_v<decay_t<_Fn>> &&
45 …(is_constructible_v<decay_t<_Args>, _Args> && ...) && (is_move_constructible_v<decay_t<_Args>> && …
HDnot_fn.h44 …class = enable_if_t< is_constructible_v<decay_t<_Fn>, _Fn> && is_move_constructible_v<decay_t<_Fn>…
HDperfect_forward.h43 …template <class... _Args, class = enable_if_t< is_constructible_v<tuple<_BoundArgs...>, _Args&&...…
/freebsd-head/contrib/llvm-project/libcxx/include/__expected/
HDexpected.h555 is_constructible_v<_Tp, _Up> && !__is_std_unexpected<remove_cvref_t<_Up>>::value &&
562 requires is_constructible_v<_Err, const _OtherErr&>
568 requires is_constructible_v<_Err, _OtherErr>
574 requires is_constructible_v<_Tp, _Args...>
580 requires is_constructible_v< _Tp, initializer_list<_Up>&, _Args... >
586 requires is_constructible_v<_Err, _Args...>
592 requires is_constructible_v< _Err, initializer_list<_Up>&, _Args... >
669 is_constructible_v<_Tp, _Up> && is_assignable_v<_Tp&, _Up> &&
843 …static_assert(is_copy_constructible_v<_Err> && is_constructible_v<_Err, decltype(std::move(error()…
852 …static_assert(is_copy_constructible_v<_Err> && is_constructible_v<_Err, decltype(std::move(error()…
[all …]
HDunexpected.h72 is_constructible_v<_Err, _Error>)
78 requires is_constructible_v<_Err, _Args...>
84 requires is_constructible_v<_Err, initializer_list<_Up>&, _Args...>
/freebsd-head/contrib/llvm-project/libcxx/include/__mdspan/
HDmdspan.h115is_constructible_v<mapping_type, extents_type> && is_default_constructible_v<accessor_type>)
122 …((_Size == rank()) || (_Size == rank_dynamic())) && is_constructible_v<mapping_type, extents_type>…
131 …((_Size == rank()) || (_Size == rank_dynamic())) && is_constructible_v<mapping_type, extents_type>…
138 …requires(is_default_constructible_v<accessor_type> && is_constructible_v<mapping_type, const exten… in mdspan()
149 …requires(is_constructible_v<mapping_type, const typename _OtherLayoutPolicy::template mapping<_Oth… in requires()
150 is_constructible_v<accessor_type, const _OtherAccessor&>) in requires()
156 …static_assert(is_constructible_v<data_handle_type, const typename _OtherAccessor::data_handle_type… in requires()
159is_constructible_v<extents_type, _OtherExtents>, "mdspan: incompatible extents for mdspan construc… in requires()
HDlayout_right.h85 requires(is_constructible_v<extents_type, _OtherExtents>) in requires()
97 requires(is_constructible_v<extents_type, _OtherExtents> && _OtherExtents::rank() <= 1)
113 requires(is_constructible_v<extents_type, _OtherExtents>) in requires()
HDlayout_left.h86 requires(is_constructible_v<extents_type, _OtherExtents>) in requires()
98 requires(is_constructible_v<extents_type, _OtherExtents> && _OtherExtents::rank() <= 1)
114 requires(is_constructible_v<extents_type, _OtherExtents>) in requires()
HDlayout_stride.h220 is_constructible_v<extents_type, typename _StridedLayoutMapping::extents_type> && in requires()
/freebsd-head/contrib/llvm-project/libcxx/include/__memory/
HDout_ptr.h46 } else if constexpr (is_constructible_v<_Smart>) { in out_ptr_t()
49 static_assert(__resettable_smart_pointer<_Ptr> || is_constructible_v<_Smart>, in out_ptr_t()
66 static_assert(is_constructible_v<_Smart, _SmartPtr, _Args...>, in ~out_ptr_t()
HDuses_allocator_construction.h46 …if constexpr (!uses_allocator_v<remove_cv_t<_Type>, _Alloc> && is_constructible_v<_Type, _Args...>… in __uses_allocator_construction_args()
49 is_constructible_v<_Type, allocator_arg_t, const _Alloc&, _Args...>) { in __uses_allocator_construction_args()
52 is_constructible_v<_Type, _Args..., const _Alloc&>) { in __uses_allocator_construction_args()
HDinout_ptr.h74 static_assert(is_constructible_v<_Smart, _SmartPtr, _Args...>, in ~inout_ptr_t()
/freebsd-head/contrib/llvm-project/libcxx/include/__thread/
HDjthread.h51 static_assert(is_constructible_v<decay_t<_Fun>, _Fun>); in jthread()
52 static_assert((is_constructible_v<decay_t<_Args>, _Args> && ...)); in jthread()
/freebsd-head/contrib/llvm-project/libcxx/include/__concepts/
HDconstructible.h27 concept constructible_from = destructible<_Tp> && is_constructible_v<_Tp, _Args...>;
/freebsd-head/contrib/llvm-project/libcxx/include/__type_traits/
HDis_constructible.h28 inline constexpr bool is_constructible_v = __is_constructible(_Tp, _Args...); variable
/freebsd-head/contrib/llvm-project/libcxx/include/__ranges/
HDmovable_box.h61 requires is_constructible_v<_Tp, _Args...>
190 requires is_constructible_v<_Tp, _Args...>
/freebsd-head/contrib/llvm-project/libcxx/include/
HDvariant1201 enable_if_t<is_constructible_v<_Tp, _Arg>, int> = 0>
1209 enable_if_t<is_constructible_v<_Tp, _Args...>, int> = 0>
1219 enable_if_t<is_constructible_v<_Tp, initializer_list<_Up>&, _Args...>, int> = 0>
1229 enable_if_t<is_constructible_v<_Tp, _Args...>, int> = 0>
1238 enable_if_t<is_constructible_v<_Tp, initializer_list<_Up>&, _Args...>, int> = 0>
1254 enable_if_t<is_assignable_v<_Tp&, _Arg> && is_constructible_v<_Tp, _Arg>, int> = 0>
1265 enable_if_t<is_constructible_v<_Tp, _Args...>, int> = 0>
1275 enable_if_t<is_constructible_v<_Tp, initializer_list<_Up>&, _Args...>, int> = 0>
1283 enable_if_t<is_constructible_v<_Tp, _Args...>, int> = 0>
1292 enable_if_t<is_constructible_v<_Tp, initializer_list<_Up>&, _Args...>, int> = 0>
HDoptional600 return is_constructible_v<_Tp, _Up&&> && is_convertible_v<_Up&&, _Tp>;
605 return is_constructible_v<_Tp, _Up&&> && !is_convertible_v<_Up&&, _Tp>;
676 class = enable_if_t< is_constructible_v<value_type, initializer_list<_Up>&, _Args...>> >
756 template <class... _Args, class = enable_if_t< is_constructible_v<value_type, _Args...> > >
765 … class = enable_if_t< is_constructible_v<value_type, initializer_list<_Up>&, _Args...> > >
HDtuple1367 requires is_constructible_v<_Tp, decltype(std::get<_Idx>(std::forward<_Tuple>(__t)))...> {
1373 …enable_if_t<is_constructible_v<_Tp, decltype(std::get<_Idx>(std::forward<_Tuple>(__t)))...>> * = n…
1383 … enable_if_t<is_constructible_v<_Tp, decltype(std::get<_Idx>(std::declval<_Tuple>()))...>>> = true;
HDarray488 …static_assert(is_constructible_v<_Tp, _Tp&>, "[array.creation]/1: to_array requires copy construct…
/freebsd-head/contrib/llvm-project/libcxx/include/__iterator/
HDmove_iterator.h125 requires is_constructible_v<_Iter>
/freebsd-head/contrib/llvm-project/libcxx/modules/std/
HDtype_traits.inc239 using std::is_constructible_v;
/freebsd-head/contrib/llvm-project/libcxx/include/__utility/
HDpair.h244 requires(is_constructible_v<first_type, decltype(std::get<0>(std::declval<_PairLike &&>()))> && in requires()
245 is_constructible_v<second_type, decltype(std::get<1>(std::declval<_PairLike &&>()))>) in requires()
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Support/
HDCasting.h594 std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;

12