| /llvm-project-15.0.7/libcxx/include/__type_traits/ |
| H A D | is_nothrow_assignable.h | 24 template <class _Tp, class _Arg> 26 : public integral_constant<bool, __is_nothrow_assignable(_Tp, _Arg)> {}; 30 template <bool, class _Tp, class _Arg> struct __libcpp_is_nothrow_assignable; 32 template <class _Tp, class _Arg> 33 struct __libcpp_is_nothrow_assignable<false, _Tp, _Arg> 38 template <class _Tp, class _Arg> 39 struct __libcpp_is_nothrow_assignable<true, _Tp, _Arg> 40 : public integral_constant<bool, noexcept(declval<_Tp>() = declval<_Arg>()) > 44 template <class _Tp, class _Arg> 46 : public __libcpp_is_nothrow_assignable<is_assignable<_Tp, _Arg>::value, _Tp, _Arg> [all …]
|
| H A D | is_assignable.h | 29 template <class _Tp, class _Arg> 30 inline constexpr bool is_assignable_v = __is_assignable(_Tp, _Arg); 35 template <class _Tp, class _Arg> 43 template <class _Tp, class _Arg, bool = is_void<_Tp>::value || is_void<_Arg>::value> 45 : public decltype((_VSTD::__is_assignable_test<_Tp, _Arg>(0))) {}; 47 template <class _Tp, class _Arg> 48 struct __is_assignable_imp<_Tp, _Arg, true> 53 template <class _Tp, class _Arg> 55 : public __is_assignable_imp<_Tp, _Arg> {}; 58 template <class _Tp, class _Arg> [all …]
|
| H A D | conjunction.h | 25 template <class _Arg, class... _Args> 27 using type = conditional_t<!bool(_Arg::value), _Arg, typename __conjunction_impl<_Args...>::type>; 30 template <class _Arg> 31 struct __conjunction_impl<_Arg> { 32 using type = _Arg;
|
| H A D | is_trivially_assignable.h | 21 template <class _Tp, class _Arg> 23 : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)> 27 template <class _Tp, class _Arg> 28 inline constexpr bool is_trivially_assignable_v = is_trivially_assignable<_Tp, _Arg>::value;
|
| H A D | is_nothrow_constructible.h | 41 template <class _Tp, class _Arg> 42 struct __libcpp_is_nothrow_constructible</*is constructible*/true, /*is reference*/true, _Tp, _Arg> 43 … : public integral_constant<bool, noexcept(_VSTD::__implicit_conversion_to<_Tp>(declval<_Arg>()))>
|
| /llvm-project-15.0.7/libcxx/include/__functional/ |
| H A D | pointer_to_unary_function.h | 24 template <class _Arg, class _Result> 26 : public __unary_function<_Arg, _Result> 28 _Result (*__f_)(_Arg); 30 _LIBCPP_INLINE_VISIBILITY explicit pointer_to_unary_function(_Result (*__f)(_Arg)) in pointer_to_unary_function() argument 32 _LIBCPP_INLINE_VISIBILITY _Result operator()(_Arg __x) const in operator() 36 template <class _Arg, class _Result> 38 pointer_to_unary_function<_Arg,_Result> 39 ptr_fun(_Result (*__f)(_Arg)) in ptr_fun() argument 40 {return pointer_to_unary_function<_Arg,_Result>(__f);} in ptr_fun()
|
| H A D | unary_function.h | 22 template <class _Arg, class _Result> 25 typedef _Arg argument_type; 31 template <class _Arg, class _Result> struct __unary_function_keep_layout_base { 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>;
|
| /llvm-project-15.0.7/pstl/include/pstl/internal/ |
| H A D | utils.h | 116 template <typename _Arg> 118 operator()(_Arg&& __arg) in operator() 120 return _M_pred(std::forward<_Arg>(__arg), _M_value); in operator() 133 template <typename _Arg> 135 operator()(_Arg&& __arg) const in operator() 137 return std::forward<_Arg>(__arg) == _M_value; in operator() 150 template <typename _Arg> 152 operator()(_Arg&& __arg) const in operator() 154 return !(std::forward<_Arg>(__arg) == _M_value); in operator()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | variant | 1009 template <size_t _Ip, class _Tp, class _Arg> 1023 _Arg&& __arg; 1142 template <size_t _Ip, class _Arg> 1144 void __assign(_Arg&& __arg) { 1309 class _Arg, 1318 constexpr variant(_Arg&& __arg) noexcept( 1319 is_nothrow_constructible_v<_Tp, _Arg>) 1381 class _Arg, 1386 enable_if_t<is_assignable_v<_Tp&, _Arg> && is_constructible_v<_Tp, _Arg>, 1389 variant& operator=(_Arg&& __arg) noexcept( [all …]
|
| H A D | future | 637 template <class _Arg> 638 void set_value(_Arg&& __arg); 640 template <class _Arg> 641 void set_value_at_thread_exit(_Arg&& __arg); 657 template <class _Arg> 660 __assoc_state<_Rp>::set_value(_Arg&& __arg) 665 ::new ((void*)&__value_) _Rp(_VSTD::forward<_Arg>(__arg)); 671 template <class _Arg> 673 __assoc_state<_Rp>::set_value_at_thread_exit(_Arg&& __arg) 678 ::new ((void*)&__value_) _Rp(_VSTD::forward<_Arg>(__arg));
|
| H A D | list | 1014 template <class _Arg> 1016 void __emplace_back(_Arg&& __arg) { emplace_back(_VSTD::forward<_Arg>(__arg)); }
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | forwarding-reference-overload.cpp | 149 template <class _Arg, class _Tp = __best_match_t<_Arg, _Types...> > 150 constexpr variant(_Arg&& __arg) {} in variant()
|
| /llvm-project-15.0.7/libcxx/include/__memory/ |
| H A D | uninitialized_algorithms.h | 433 template<class _Alloc, class _Tp, class _Arg> 435 constexpr void __allocator_construct_at(_Alloc& __alloc, _Tp* __loc, _Arg const& __arg) { in __allocator_construct_at() 440 static_assert(is_array_v<_Arg>, in __allocator_construct_at()
|
| H A D | shared_ptr.h | 1039 template<class _Array, class _Alloc, class... _Arg> 1041 shared_ptr<_Array> __allocate_shared_unbounded_array(const _Alloc& __a, size_t __n, _Arg&& ...__arg) 1053 std::__construct_at(__control_block, __a, __n, std::forward<_Arg>(__arg)...); 1102 template<class _Array, class _Alloc, class... _Arg> 1104 shared_ptr<_Array> __allocate_shared_bounded_array(const _Alloc& __a, _Arg&& ...__arg) 1112 std::__construct_at(__control_block, __a, std::forward<_Arg>(__arg)...);
|
| /llvm-project-15.0.7/clang/test/Analysis/Inputs/ |
| H A D | system-header-simulator-cxx.h | 703 template <class _Tp, class _Arg> 705 : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)>
|