Home
last modified time | relevance | path

Searched refs:_Args (Results 26 – 50 of 88) sorted by relevance

1234

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dpstl_frontend_dispatch.h30 template <class _SpecializedImpl, class _GenericImpl, class... _Args>
32 __pstl_frontend_dispatch(_SpecializedImpl __specialized_impl, _GenericImpl __generic_impl, _Args&&.… in decltype()
33 if constexpr (__is_callable<_SpecializedImpl, _Args...>::value) { in decltype()
34 return __specialized_impl(std::forward<_Args>(__args)...); in decltype()
36 return __generic_impl(std::forward<_Args>(__args)...); in decltype()
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dnot_fn.h31 template <class... _Args>
32 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 auto operator()(_Args&&... __args) const
33 noexcept(noexcept(!std::invoke(std::forward<_Args>(__args)...)))
34 -> decltype(!std::invoke(std::forward<_Args>(__args)...)) {
35 return !std::invoke(std::forward<_Args>(__args)...);
H A Dcompose.h28 template <class _Fn1, class _Fn2, class... _Args>
29 …_LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Fn1&& __f1, _Fn2&& __f2, _Args&&... __args) const…
30 …(std::forward<_Fn1>(__f1), std::invoke(std::forward<_Fn2>(__f2), std::forward<_Args>(__args)...))))
32 … std::invoke(std::forward<_Fn2>(__f2), std::forward<_Args>(__args)...))) {
33 …e(std::forward<_Fn1>(__f1), std::invoke(std::forward<_Fn2>(__f2), std::forward<_Args>(__args)...));
/freebsd/contrib/llvm-project/libcxx/include/__mutex/
H A Donce_flag.h37 template <class _Callable, class... _Args>
38 _LIBCPP_HIDE_FROM_ABI void call_once(once_flag&, _Callable&&, _Args&&...);
69 template <class _Callable, class... _Args>
70 friend void call_once(once_flag&, _Callable&&, _Args&&...);
125 template <class _Callable, class... _Args>
126 inline _LIBCPP_HIDE_FROM_ABI void call_once(once_flag& __flag, _Callable&& __func, _Args&&... __arg… in call_once()
128 typedef tuple<_Callable&&, _Args&&...> _Gp; in call_once()
129 _Gp __f(std::forward<_Callable>(__func), std::forward<_Args>(__args)...); in call_once()
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dallocator_traits.h175 using type _LIBCPP_NODEBUG = _Alloc<_Up, _Args...>;
197 template <class, class _Alloc, class... _Args>
200 template <class _Alloc, class... _Args>
203 _Args...> : true_type {};
205 template <class _Alloc, class... _Args>
292 …template <class _Tp, class... _Args, class = __enable_if_t<__has_construct<allocator_type, _Tp*, _…
294 construct(allocator_type& __a, _Tp* __p, _Args&&... __args) {
296 __a.construct(__p, std::forward<_Args>(__args)...);
300 class... _Args,
304 construct(allocator_type&, _Tp* __p, _Args&&... __args) {
[all …]
H A Dpointer_traits.h45 template <template <class, class...> class _Sp, class _Tp, class... _Args>
46 struct __pointer_traits_element_type<_Sp<_Tp, _Args...>, true> {
47 typedef _LIBCPP_NODEBUG typename _Sp<_Tp, _Args...>::element_type type;
50 template <template <class, class...> class _Sp, class _Tp, class... _Args>
51 struct __pointer_traits_element_type<_Sp<_Tp, _Args...>, false> {
94 template <template <class, class...> class _Sp, class _Tp, class... _Args, class _Up>
95 struct __pointer_traits_rebind<_Sp<_Tp, _Args...>, _Up, true> {
97 typedef _LIBCPP_NODEBUG typename _Sp<_Tp, _Args...>::template rebind<_Up> type;
103 template <template <class, class...> class _Sp, class _Tp, class... _Args, class _Up>
104 struct __pointer_traits_rebind<_Sp<_Tp, _Args...>, _Up, false> {
[all …]
H A Dranges_construct_at.h44 …template <class _Tp, class... _Args, class = decltype(::new(std::declval<void*>()) _Tp(std::declva…
45 _LIBCPP_HIDE_FROM_ABI constexpr _Tp* operator()(_Tp* __location, _Args&&... __args) const { in operator()
46 return std::construct_at(__location, std::forward<_Args>(__args)...); in operator()
H A Dtemp_value.h47 template <class... _Args>
48 …M_ABI _LIBCPP_NO_CFI _LIBCPP_CONSTEXPR_SINCE_CXX20 __temp_value(_Alloc& __alloc, _Args&&... __args) in __temp_value()
50 _Traits::construct(__a, __addr(), std::forward<_Args>(__args)...); in __temp_value()
H A Dcompressed_pair.h57 template <class... _Args, size_t... _Indices>
59 piecewise_construct_t, tuple<_Args...> __args, __tuple_indices<_Indices...>) in __compressed_pair_elem()
60 : __value_(std::forward<_Args>(std::get<_Indices>(__args))...) {} in __compressed_pair_elem()
86 template <class... _Args, size_t... _Indices>
88 …__compressed_pair_elem(piecewise_construct_t, tuple<_Args...> __args, __tuple_indices<_Indices...>)
89 : __value_type(std::forward<_Args>(std::get<_Indices>(__args))...) {}
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dnon_propagating_cache.h46 template <class... _Args>
47 _LIBCPP_HIDE_FROM_ABI constexpr explicit __wrapper(__forward_tag, _Args&&... __args) in __wrapper()
48 : __t_(std::forward<_Args>(__args)...) {} in __wrapper()
90 template <class... _Args>
91 _LIBCPP_HIDE_FROM_ABI constexpr _Tp& __emplace(_Args&&... __args) { in __emplace()
92 return __value_.emplace(__forward_tag{}, std::forward<_Args>(__args)...).__t_; in __emplace()
H A Dsingle_view.h60 template <class... _Args>
61 requires constructible_from<_Tp, _Args...>
62 _LIBCPP_HIDE_FROM_ABI constexpr explicit single_view(in_place_t, _Args&&... __args) in single_view()
63 : __value_{in_place, std::forward<_Args>(__args)...} {} in single_view()
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_trivially_constructible.h21 template <class _Tp, class... _Args>
23 : integral_constant<bool, __is_trivially_constructible(_Tp, _Args...)> {};
26 template <class _Tp, class... _Args>
27 inline constexpr bool is_trivially_constructible_v = __is_trivially_constructible(_Tp, _Args...);
H A Dis_constructible.h21 template <class _Tp, class... _Args>
22 …MPLATE_VIS is_constructible : public integral_constant<bool, __is_constructible(_Tp, _Args...)> {};
25 template <class _Tp, class... _Args>
26 inline constexpr bool is_constructible_v = __is_constructible(_Tp, _Args...);
H A Dis_callable.h22 template <class _Func, class... _Args, class = decltype(std::declval<_Func>()(std::declval<_Args>()…
27 template <class _Func, class... _Args>
28 struct __is_callable : decltype(std::__is_callable_helper<_Func, _Args...>(0)) {};
H A Dis_valid_expansion.h21 template <template <class...> class _Templ, class... _Args, class = _Templ<_Args...> >
26 template <template <class...> class _Templ, class... _Args>
27 using _IsValidExpansion _LIBCPP_NODEBUG = decltype(std::__sfinae_test_impl<_Templ, _Args...>(0));
H A Dstrip_signature.h27 template <class _Rp, class... _Args>
28 struct __strip_signature<_Rp (*)(_Args...)> {
29 using type = _Rp(_Args...);
32 template <class _Rp, class... _Args>
33 struct __strip_signature<_Rp (*)(_Args...) noexcept> {
34 using type = _Rp(_Args...);
H A Dresult_of.h27 template <class _Fp, class... _Args>
28 class _LIBCPP_TEMPLATE_VIS result_of<_Fp(_Args...)> : public __invoke_of<_Fp, _Args...> {};
/freebsd/contrib/llvm-project/libcxx/include/__memory_resource/
H A Dpolymorphic_allocator.h178 template <class... _Args, size_t... _Is>
179 _LIBCPP_HIDE_FROM_ABI tuple<_Args&&...>
180 __transform_tuple(integral_constant<int, 0>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
184 template <class... _Args, size_t... _Is>
185 _LIBCPP_HIDE_FROM_ABI tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>
186 __transform_tuple(integral_constant<int, 1>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
187 using _Tup = tuple<allocator_arg_t const&, polymorphic_allocator&, _Args&&...>; in __transform_tuple()
191 template <class... _Args, size_t... _Is>
192 _LIBCPP_HIDE_FROM_ABI tuple<_Args&&..., polymorphic_allocator&>
193 __transform_tuple(integral_constant<int, 2>, tuple<_Args...>&& __t, __tuple_indices<_Is...>) { in __transform_tuple()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_arg_store.h208 template <class _Context, class... _Args>
210 __create_packed_storage(uint64_t& __types, __basic_format_arg_value<_Context>* __values, _Args&... … in __create_packed_storage()
226 template <class _Context, class... _Args>
227 _LIBCPP_HIDE_FROM_ABI void __store_basic_format_arg(basic_format_arg<_Context>* __data, _Args&... _… in __store_basic_format_arg()
244 template <class _Context, class... _Args>
246 _LIBCPP_HIDE_FROM_ABI __format_arg_store(_Args&... __args) noexcept { in __format_arg_store()
247 if constexpr (sizeof...(_Args) != 0) { in __format_arg_store()
248 if constexpr (__format::__use_packed_format_arg_store(sizeof...(_Args))) in __format_arg_store()
256 conditional_t<__format::__use_packed_format_arg_store(sizeof...(_Args)),
257 __format::__packed_format_arg_store<_Context, sizeof...(_Args)>,
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Dfilesystem_error.h72 template <class... _Args>
74 __throw_filesystem_error(_Args&&... __args) { in __throw_filesystem_error()
75 throw filesystem_error(std::forward<_Args>(__args)...); in __throw_filesystem_error()
78 template <class... _Args>
80 __throw_filesystem_error(_Args&&...) { in __throw_filesystem_error() argument
/freebsd/contrib/llvm-project/libcxx/include/
H A Dscoped_allocator409 template <class _Type, class... _Args>
420 template <class _Tp, class... _Args>
422 …__construct(__uses_alloc_ctor<_Tp, inner_allocator_type&, _Args...>(), __p, std::forward<_Args>(__…
483 template <class _Tp, class... _Args>
489 template <class _Tp, class... _Args>
496 template <class _Tp, class... _Args>
503 template <class... _Args, size_t... _Idx>
504 _LIBCPP_HIDE_FROM_ABI tuple<_Args&&...>
509 template <class... _Args, size_t... _Idx>
516 template <class... _Args, size_t... _Idx>
[all …]
H A Dvariant660 template <class... _Args>
1191 class... _Args,
1201 class... _Args,
1208 _Args&&... __args) noexcept(is_nothrow_constructible_v<_Tp, initializer_list<_Up>&, _Args...>)
1212 class... _Args,
1221 class... _Args,
1227_Args&&... __args) noexcept(is_nothrow_constructible_v<_Tp, initializer_list< _Up>&, _Args...>)
1247 class... _Args,
1257 class... _Args,
1266 class... _Args,
[all …]
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Doverridable_function.h71 template <class _Ret, class... _Args>
72 _LIBCPP_HIDE_FROM_ABI bool __is_function_overridden(_Ret (*__fptr)(_Args...)) noexcept { in __is_function_overridden() argument
102 template <class _Ret, class... _Args>
103 _LIBCPP_HIDE_FROM_ABI bool __is_function_overridden(_Ret (*__fptr)(_Args...)) noexcept {
/freebsd/contrib/llvm-project/libcxx/include/__concepts/
H A Dpredicate.h27 template <class _Fn, class... _Args>
28 concept predicate = regular_invocable<_Fn, _Args...> && __boolean_testable<invoke_result_t<_Fn, _Ar…
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthread.h160 …template <class _Fp, class... _Args, class = __enable_if_t<!is_same<__remove_cvref_t<_Fp>, thread>…
161 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS explicit thread(_Fp&& __f, _Args&&... __args);
191 template <class _TSp, class _Fp, class... _Args, size_t... _Indices>
192 inline _LIBCPP_HIDE_FROM_ABI void __thread_execute(tuple<_TSp, _Fp, _Args...>& __t, __tuple_indices…
206 template <class _Fp, class... _Args, class >
207 thread::thread(_Fp&& __f, _Args&&... __args) {
210 typedef tuple<_TSPtr, __decay_t<_Fp>, __decay_t<_Args>...> _Gp;
211 …unique_ptr<_Gp> __p(new _Gp(std::move(__tsp), std::forward<_Fp>(__f), std::forward<_Args>(__args).…

1234