Home
last modified time | relevance | path

Searched refs:_Arg (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dpointer_to_unary_function.h24 template <class _Arg, class _Result>
26 _LIBCPP_DEPRECATED_IN_CXX11 pointer_to_unary_function : public __unary_function<_Arg, _Result> {
27 _Result (*__f_)(_Arg);
30 _LIBCPP_HIDE_FROM_ABI explicit pointer_to_unary_function(_Result (*__f)(_Arg)) : __f_(__f) {} in pointer_to_unary_function() argument
31 _LIBCPP_HIDE_FROM_ABI _Result operator()(_Arg __x) const { return __f_(__x); } in operator()
34 template <class _Arg, class _Result>
35 _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI pointer_to_unary_function<_Arg, _Result>
36 ptr_fun(_Result (*__f)(_Arg)) { in ptr_fun() argument
37 return pointer_to_unary_function<_Arg, _Result>(__f); in ptr_fun()
H A Dunary_function.h22 template <class _Arg, class _Result>
24 typedef _Arg argument_type;
30 template <class _Arg, class _Result>
33 using argument_type _LIBCPP_DEPRECATED_IN_CXX17 = _Arg;
41 template <class _Arg, class _Result>
42 using __unary_function = unary_function<_Arg, _Result>;
45 template <class _Arg, class _Result>
46 using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dconjunction.h52 template <class _Arg>
53 struct conjunction<_Arg> : _Arg {};
55 template <class _Arg, class... _Args>
56 struct conjunction<_Arg, _Args...> : conditional_t<!bool(_Arg::value), _Arg, conjunction<_Args...>>…
H A Dis_trivially_assignable.h24 template <class _Tp, class _Arg>
25 struct is_trivially_assignable : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)> {};
28 template <class _Tp, class _Arg>
29 inline constexpr bool is_trivially_assignable_v = __is_trivially_assignable(_Tp, _Arg);
H A Dis_nothrow_assignable.h23 template <class _Tp, class _Arg>
24 …TE_VIS is_nothrow_assignable : public integral_constant<bool, __is_nothrow_assignable(_Tp, _Arg)> {
28 template <class _Tp, class _Arg>
29 inline constexpr bool is_nothrow_assignable_v = __is_nothrow_assignable(_Tp, _Arg);
H A Dis_nothrow_constructible.h45 template <class _Tp, class _Arg>
46 …ruct __libcpp_is_nothrow_constructible</*is constructible*/ true, /*is reference*/ true, _Tp, _Arg>
47 …: public integral_constant<bool, noexcept(std::__implicit_conversion_to<_Tp>(std::declval<_Arg>())…
H A Dis_assignable.h27 template <class _Tp, class _Arg>
28 inline constexpr bool is_assignable_v = __is_assignable(_Tp, _Arg);
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dutils.h
/freebsd/contrib/llvm-project/libcxx/include/
H A Dvariant925 template <size_t _Ip, class _Tp, class _Arg>
926 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __assign_alt(__alt<_Ip, _Tp>& __a, _Arg&&…
928 __a.__value = std::forward<_Arg>(__arg);
932 __this->__emplace<_Ip>(std::forward<_Arg>(__arg));
935 __this->__emplace<_Ip>(_Tp(std::forward<_Arg>(__arg)));
938 _Arg&& __arg;
939 } __impl{this, std::forward<_Arg>(__arg)};
940 …__impl(bool_constant < is_nothrow_constructible_v<_Tp, _Arg> || !is_nothrow_move_constructible_v <…
1050 template <size_t _Ip, class _Arg>
1051 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __assign(_Arg&& __arg) {
[all …]
H A Dfuture584 template <class _Arg>
585 _LIBCPP_HIDE_FROM_ABI void set_value(_Arg&& __arg);
587 template <class _Arg>
588 _LIBCPP_HIDE_FROM_ABI void set_value_at_thread_exit(_Arg&& __arg);
602 template <class _Arg>
603 void __assoc_state<_Rp>::set_value(_Arg&& __arg) {
607 ::new ((void*)&__value_) _Rp(std::forward<_Arg>(__arg));
613 template <class _Arg>
614 void __assoc_state<_Rp>::set_value_at_thread_exit(_Arg&& __arg) {
618 ::new ((void*)&__value_) _Rp(std::forward<_Arg>(__arg));
H A Dlist835 template <class _Arg>
836 _LIBCPP_HIDE_FROM_ABI void __emplace_back(_Arg&& __arg) {
837 emplace_back(std::forward<_Arg>(__arg));
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Duninitialized_algorithms.h438 template <class _Alloc, class _Tp, class _Arg>
440 __allocator_construct_at_multidimensional(_Alloc& __alloc, _Tp* __loc, _Arg const& __arg) { in __allocator_construct_at_multidimensional()
445 static_assert(is_array_v<_Arg>, in __allocator_construct_at_multidimensional()
H A Dshared_ptr.h959 template <class _Array, class _Alloc, class... _Arg>
961 __allocate_shared_unbounded_array(const _Alloc& __a, size_t __n, _Arg&&... __arg) {
972 std::__construct_at(__control_block, __a, __n, std::forward<_Arg>(__arg)...);
1037 template <class _Array, class _Alloc, class... _Arg>
1038 _LIBCPP_HIDE_FROM_ABI shared_ptr<_Array> __allocate_shared_bounded_array(const _Alloc& __a, _Arg&&.…
1045 std::__construct_at(__control_block, __a, std::forward<_Arg>(__arg)...);
/freebsd/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h72 template <class _Err, class _Arg>
73 _LIBCPP_HIDE_FROM_ABI void __throw_bad_expected_access(_Arg&& __arg) {
75 throw bad_expected_access<_Err>(std::forward<_Arg>(__arg));