Home | History | Annotate | Download | only in bits

Lines Matching refs:_Tp

43   template<typename _Tp>
46 typedef _Tp type;
49 template<typename _Tp>
50 inline _Tp&&
51 forward(typename std::remove_reference<_Tp>::type& __t)
53 { return static_cast<_Tp&&>(__t); }
58 template<typename _Tp>
59 inline _Tp&&
60 forward(typename std::remove_reference<_Tp>::type&& __t)
63 static_assert(!std::is_lvalue_reference<_Tp>::value,
66 return static_cast<_Tp&&>(__t);
72 template<typename _Tp>
73 inline typename std::remove_reference<_Tp>::type&&
74 move(_Tp&& __t)
76 { return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); }
83 #define _GLIBCXX_MOVE(_Tp) std::move(_Tp)
85 #define _GLIBCXX_MOVE(_Tp) (_Tp)
96 template<typename _Tp>
98 swap(_Tp& __a, _Tp& __b)
101 __glibcxx_function_requires(_SGIAssignableConcept<_Tp>)
103 _Tp __tmp = _GLIBCXX_MOVE(__a);
110 template<typename _Tp, size_t _Nm>
112 swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])