Lines Matching refs:_T2
252 template <class _T1, class _T2>
256 typedef _T2 second_type;
259 _T2 second;
267 pair(const _T1& __x, const _T2& __y)
275 is_convertible<const _U2&, _T2>::value>::type* = 0
319 is_convertible<_U2, _T2>::value>::type* = 0)
405 template <class _T1, class _T2>
408 operator==(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
413 template <class _T1, class _T2>
416 operator!=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
421 template <class _T1, class _T2>
424 operator< (const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
429 template <class _T1, class _T2>
432 operator> (const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
437 template <class _T1, class _T2>
440 operator>=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
445 template <class _T1, class _T2>
448 operator<=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
453 template <class _T1, class _T2>
458 __is_swappable<_T2>::value,
461 swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y)
463 __is_nothrow_swappable<_T2>::value))
490 template <class _T1, class _T2>
492 pair<typename __make_pair_return<_T1>::type, typename __make_pair_return<_T2>::type>
493 make_pair(_T1&& __t1, _T2&& __t2)
495 return pair<typename __make_pair_return<_T1>::type, typename __make_pair_return<_T2>::type>
496 (_VSTD::forward<_T1>(__t1), _VSTD::forward<_T2>(__t2));
501 template <class _T1, class _T2>
503 pair<_T1,_T2>
504 make_pair(_T1 __x, _T2 __y)
506 return pair<_T1, _T2>(__x, __y);
511 template <class _T1, class _T2>
512 class _LIBCPP_TYPE_VIS_ONLY tuple_size<pair<_T1, _T2> >
515 template <class _T1, class _T2>
516 class _LIBCPP_TYPE_VIS_ONLY tuple_element<0, pair<_T1, _T2> >
522 template <class _T1, class _T2>
523 class _LIBCPP_TYPE_VIS_ONLY tuple_element<1, pair<_T1, _T2> >
526 typedef _T2 type;
534 template <class _T1, class _T2>
538 get(pair<_T1, _T2>& __p) _NOEXCEPT {return __p.first;}
540 template <class _T1, class _T2>
544 get(const pair<_T1, _T2>& __p) _NOEXCEPT {return __p.first;}
548 template <class _T1, class _T2>
552 get(pair<_T1, _T2>&& __p) _NOEXCEPT {return _VSTD::forward<_T1>(__p.first);}
560 template <class _T1, class _T2>
563 _T2&
564 get(pair<_T1, _T2>& __p) _NOEXCEPT {return __p.second;}
566 template <class _T1, class _T2>
569 const _T2&
570 get(const pair<_T1, _T2>& __p) _NOEXCEPT {return __p.second;}
574 template <class _T1, class _T2>
577 _T2&&
578 get(pair<_T1, _T2>&& __p) _NOEXCEPT {return _VSTD::forward<_T2>(__p.second);}
583 template <size_t _Ip, class _T1, class _T2>
585 typename tuple_element<_Ip, pair<_T1, _T2> >::type&
586 get(pair<_T1, _T2>& __p) _NOEXCEPT
591 template <size_t _Ip, class _T1, class _T2>
593 const typename tuple_element<_Ip, pair<_T1, _T2> >::type&
594 get(const pair<_T1, _T2>& __p) _NOEXCEPT
601 template <size_t _Ip, class _T1, class _T2>
603 typename tuple_element<_Ip, pair<_T1, _T2> >::type&&
604 get(pair<_T1, _T2>&& __p) _NOEXCEPT
612 template <class _T1, class _T2>
614 constexpr _T1 & get(pair<_T1, _T2>& __p) _NOEXCEPT
619 template <class _T1, class _T2>
621 constexpr _T1 const & get(pair<_T1, _T2> const& __p) _NOEXCEPT
626 template <class _T1, class _T2>
628 constexpr _T1 && get(pair<_T1, _T2>&& __p) _NOEXCEPT
633 template <class _T1, class _T2>
635 constexpr _T1 & get(pair<_T2, _T1>& __p) _NOEXCEPT
640 template <class _T1, class _T2>
642 constexpr _T1 const & get(pair<_T2, _T1> const& __p) _NOEXCEPT
647 template <class _T1, class _T2>
649 constexpr _T1 && get(pair<_T2, _T1>&& __p) _NOEXCEPT
743 template<class _T1, class _T2 = _T1>
745 _T1 exchange(_T1& __obj, _T2 && __new_value)
748 __obj = _VSTD::forward<_T2>(__new_value);