Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Dpointer_to_unary_function.h24 template <class _Arg, class _Result>
26 : 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-14.2/contrib/llvm-project/libcxx/include/__type_traits/
H A Dconjunction.h45 template <class _Arg>
46 struct conjunction<_Arg> : _Arg {};
48 template <class _Arg, class... _Args>
49 struct conjunction<_Arg, _Args...> : conditional_t<!bool(_Arg::value), _Arg, conjunction<_Args...>>…
H A Dis_trivially_assignable.h21 template <class _Tp, class _Arg>
22 struct is_trivially_assignable : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)> {};
25 template <class _Tp, class _Arg>
26 inline constexpr bool is_trivially_assignable_v = __is_trivially_assignable(_Tp, _Arg);
H A Dis_nothrow_assignable.h21 template <class _Tp, class _Arg>
22 …TE_VIS is_nothrow_assignable : public integral_constant<bool, __is_nothrow_assignable(_Tp, _Arg)> {
26 template <class _Tp, class _Arg>
27 inline constexpr bool is_nothrow_assignable_v = __is_nothrow_assignable(_Tp, _Arg);
H A Dis_nothrow_constructible.h43 template <class _Tp, class _Arg>
44 …ruct __libcpp_is_nothrow_constructible</*is constructible*/ true, /*is reference*/ true, _Tp, _Arg>
45 …: public integral_constant<bool, noexcept(std::__implicit_conversion_to<_Tp>(std::declval<_Arg>())…
H A Dis_assignable.h25 template <class _Tp, class _Arg>
26 inline constexpr bool is_assignable_v = __is_assignable(_Tp, _Arg);
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dvariant902 template <size_t _Ip, class _Tp, class _Arg>
905 __a.__value = std::forward<_Arg>(__arg);
913 _Arg&& __arg;
914 } __impl{this, std::forward<_Arg>(__arg)};
1016 template <size_t _Ip, class _Arg>
1017 _LIBCPP_HIDE_FROM_ABI void __assign(_Arg&& __arg) {
1180 template < class _Arg,
1187 …_LIBCPP_HIDE_FROM_ABI constexpr variant(_Arg&& __arg) noexcept(is_nothrow_constructible_v<_Tp, _Ar…
1235 template < class _Arg,
1239 enable_if_t<is_assignable_v<_Tp&, _Arg> && is_constructible_v<_Tp, _Arg>, int> = 0>
[all …]
H A Dfuture587 template <class _Arg>
588 _LIBCPP_HIDE_FROM_ABI void set_value(_Arg&& __arg);
590 template <class _Arg>
591 _LIBCPP_HIDE_FROM_ABI void set_value_at_thread_exit(_Arg&& __arg);
605 template <class _Arg>
606 void __assoc_state<_Rp>::set_value(_Arg&& __arg) {
610 ::new ((void*)&__value_) _Rp(std::forward<_Arg>(__arg));
616 template <class _Arg>
617 void __assoc_state<_Rp>::set_value_at_thread_exit(_Arg&& __arg) {
621 ::new ((void*)&__value_) _Rp(std::forward<_Arg>(__arg));
H A Dlist847 template <class _Arg>
848 _LIBCPP_HIDE_FROM_ABI void __emplace_back(_Arg&& __arg) {
849 emplace_back(std::forward<_Arg>(__arg));
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Duninitialized_algorithms.h439 template <class _Alloc, class _Tp, class _Arg>
441 __allocator_construct_at_multidimensional(_Alloc& __alloc, _Tp* __loc, _Arg const& __arg) { in __allocator_construct_at_multidimensional()
446 static_assert(is_array_v<_Arg>, in __allocator_construct_at_multidimensional()
H A Dshared_ptr.h939 template <class _Array, class _Alloc, class... _Arg>
941 __allocate_shared_unbounded_array(const _Alloc& __a, size_t __n, _Arg&&... __arg) {
952 std::__construct_at(__control_block, __a, __n, std::forward<_Arg>(__arg)...);
1017 template <class _Array, class _Alloc, class... _Arg>
1018 _LIBCPP_HIDE_FROM_ABI shared_ptr<_Array> __allocate_shared_bounded_array(const _Alloc& __a, _Arg&&.…
1025 std::__construct_at(__control_block, __a, std::forward<_Arg>(__arg)...);
/freebsd-14.2/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h81 template <class _Err, class _Arg>
82 _LIBCPP_HIDE_FROM_ABI void __throw_bad_expected_access(_Arg&& __arg) {
84 throw bad_expected_access<_Err>(std::forward<_Arg>(__arg));