Lines Matching refs:_Tp
28 template <class _Tp = void>
30 template <class _Tp>
32 struct _LIBCPP_TEMPLATE_VIS plus : __binary_function<_Tp, _Tp, _Tp> {
33 typedef _Tp __result_type; // used by valarray
34 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)… in operator()
42 template <class _Tp>
43 inline const bool __desugars_to_v<__plus_tag, plus<_Tp>, _Tp, _Tp> = true;
45 template <class _Tp, class _Up>
46 inline const bool __desugars_to_v<__plus_tag, plus<void>, _Tp, _Up> = true;
62 template <class _Tp = void>
64 template <class _Tp>
66 struct _LIBCPP_TEMPLATE_VIS minus : __binary_function<_Tp, _Tp, _Tp> {
67 typedef _Tp __result_type; // used by valarray
68 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)…
88 template <class _Tp = void>
90 template <class _Tp>
92 struct _LIBCPP_TEMPLATE_VIS multiplies : __binary_function<_Tp, _Tp, _Tp> {
93 typedef _Tp __result_type; // used by valarray
94 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)…
114 template <class _Tp = void>
116 template <class _Tp>
118 struct _LIBCPP_TEMPLATE_VIS divides : __binary_function<_Tp, _Tp, _Tp> {
119 typedef _Tp __result_type; // used by valarray
120 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)…
140 template <class _Tp = void>
142 template <class _Tp>
144 struct _LIBCPP_TEMPLATE_VIS modulus : __binary_function<_Tp, _Tp, _Tp> {
145 typedef _Tp __result_type; // used by valarray
146 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)…
166 template <class _Tp = void>
168 template <class _Tp>
170 struct _LIBCPP_TEMPLATE_VIS negate : __unary_function<_Tp, _Tp> {
171 typedef _Tp __result_type; // used by valarray
172 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x) const { return …
179 template <class _Tp>
180 _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI auto operator()(_Tp&& __x) const
181 noexcept(noexcept(-std::forward<_Tp>(__x))) //
182 -> decltype(-std::forward<_Tp>(__x)) {
183 return -std::forward<_Tp>(__x);
192 template <class _Tp = void>
194 template <class _Tp>
196 struct _LIBCPP_TEMPLATE_VIS bit_and : __binary_function<_Tp, _Tp, _Tp> {
197 typedef _Tp __result_type; // used by valarray
198 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)…
218 template <class _Tp = void>
219 struct _LIBCPP_TEMPLATE_VIS bit_not : __unary_function<_Tp, _Tp> {
220 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x) const { return …
226 template <class _Tp>
227 _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI auto operator()(_Tp&& __x) const
228 noexcept(noexcept(~std::forward<_Tp>(__x))) //
229 -> decltype(~std::forward<_Tp>(__x)) {
230 return ~std::forward<_Tp>(__x);
237 template <class _Tp = void>
239 template <class _Tp>
241 struct _LIBCPP_TEMPLATE_VIS bit_or : __binary_function<_Tp, _Tp, _Tp> {
242 typedef _Tp __result_type; // used by valarray
243 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)…
263 template <class _Tp = void>
265 template <class _Tp>
267 struct _LIBCPP_TEMPLATE_VIS bit_xor : __binary_function<_Tp, _Tp, _Tp> {
268 typedef _Tp __result_type; // used by valarray
269 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y)…
291 template <class _Tp = void>
293 template <class _Tp>
295 struct _LIBCPP_TEMPLATE_VIS equal_to : __binary_function<_Tp, _Tp, bool> {
297 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…
318 template <class _Tp>
319 inline const bool __desugars_to_v<__equal_tag, equal_to<_Tp>, _Tp, _Tp> = true;
322 template <class _Tp, class _Up>
323 inline const bool __desugars_to_v<__equal_tag, equal_to<void>, _Tp, _Up> = true;
326 template <class _Tp = void>
328 template <class _Tp>
330 struct _LIBCPP_TEMPLATE_VIS not_equal_to : __binary_function<_Tp, _Tp, bool> {
332 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…
352 template <class _Tp = void>
354 template <class _Tp>
356 struct _LIBCPP_TEMPLATE_VIS less : __binary_function<_Tp, _Tp, bool> {
358 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…
364 template <class _Tp>
365 inline const bool __desugars_to_v<__less_tag, less<_Tp>, _Tp, _Tp> = true;
379 template <class _Tp>
380 inline const bool __desugars_to_v<__less_tag, less<>, _Tp, _Tp> = true;
384 template <class _Tp = void>
386 template <class _Tp>
388 struct _LIBCPP_TEMPLATE_VIS less_equal : __binary_function<_Tp, _Tp, bool> {
390 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…
410 template <class _Tp = void>
412 template <class _Tp>
414 struct _LIBCPP_TEMPLATE_VIS greater_equal : __binary_function<_Tp, _Tp, bool> {
416 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…
436 template <class _Tp = void>
438 template <class _Tp>
440 struct _LIBCPP_TEMPLATE_VIS greater : __binary_function<_Tp, _Tp, bool> {
442 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…
464 template <class _Tp = void>
466 template <class _Tp>
468 struct _LIBCPP_TEMPLATE_VIS logical_and : __binary_function<_Tp, _Tp, bool> {
470 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…
490 template <class _Tp = void>
492 template <class _Tp>
494 struct _LIBCPP_TEMPLATE_VIS logical_not : __unary_function<_Tp, bool> {
496 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x) const { return…
503 template <class _Tp>
504 _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI auto operator()(_Tp&& __x) const
505 noexcept(noexcept(!std::forward<_Tp>(__x))) //
506 -> decltype(!std::forward<_Tp>(__x)) {
507 return !std::forward<_Tp>(__x);
514 template <class _Tp = void>
516 template <class _Tp>
518 struct _LIBCPP_TEMPLATE_VIS logical_or : __binary_function<_Tp, _Tp, bool> {
520 …_LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y…