|
template<typename _Tp > |
_Tp * | std::__addressof (_Tp &__r) _GLIBCXX_NOEXCEPT |
|
template<typename _Tp > |
_Tp * | std::addressof (_Tp &__r) noexcept |
|
template<typename _Tp > |
add_rvalue_reference< _Tp >::type | std::declval () noexcept |
|
template<typename _Tp > |
constexpr _Tp && | std::forward (typename std::remove_reference< _Tp >::type &__t) noexcept |
|
template<typename _Tp > |
constexpr _Tp && | std::forward (typename std::remove_reference< _Tp >::type &&__t) noexcept |
|
template<typename _Tp > |
constexpr
std::remove_reference< _Tp >
::type && | std::move (_Tp &&__t) noexcept |
|
template<typename _Tp > |
conditional
< __move_if_noexcept_cond< _Tp >
::value, const _Tp &, _Tp && >
::type | std::move_if_noexcept (_Tp &__x) noexcept |
|
template<typename _Tp > |
void | std::swap (_Tp &__a, _Tp &__b) noexcept(__and_< is_nothrow_move_constructible< _Tp >,is_nothrow_move_assignable< _Tp >>::value) |
|
template<typename _Tp , size_t _Nm> |
void | std::swap (_Tp(&__a)[_Nm], _Tp(&__b)[_Nm]) noexcept(noexcept(swap(*__a,*__b))) |
|
Components deemed generally useful. Includes pair, tuple, forward/move helpers, ratio, function object, metaprogramming and type traits, time, date, and memory functions.
template<typename _Tp >
_Tp* std::__addressof |
( |
_Tp & |
__r | ) |
|
|
inline |
template<typename _Tp >
_Tp* std::addressof |
( |
_Tp & |
__r | ) |
|
|
inlinenoexcept |
template<typename _Tp >
add_rvalue_reference< _Tp >::type std::declval |
( |
| ) |
|
|
inlinenoexcept |
Utility to simplify expressions used in unevaluated operands.
Definition at line 1774 of file type_traits.
Forward an lvalue.
- Returns
- The parameter cast to the specified type.
This function is used to implement "perfect forwarding".
Definition at line 77 of file move.h.
Forward an rvalue.
- Returns
- The parameter cast to the specified type.
This function is used to implement "perfect forwarding".
Definition at line 88 of file move.h.
Convert a value to an rvalue.
- Parameters
-
__t | A thing of arbitrary type. |
- Returns
- The parameter cast to an rvalue-reference to allow moving it.
Definition at line 102 of file move.h.
template<typename _Tp >
conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type std::move_if_noexcept |
( |
_Tp & |
__x | ) |
|
|
inlinenoexcept |
Conditionally convert a value to an rvalue.
- Parameters
-
__x | A thing of arbitrary type. |
- Returns
- The parameter, possibly cast to an rvalue-reference.
Same as std::move unless the type's move constructor could throw and the type is copyable, in which case an lvalue-reference is returned instead.
Definition at line 122 of file move.h.
template<typename _Tp >
void std::swap |
( |
_Tp & |
__a, |
|
|
_Tp & |
__b |
|
) |
| const |
|
inlinenoexcept |
Swaps two values.
- Parameters
-
__a | A thing of arbitrary type. |
__b | Another thing of arbitrary type. |
- Returns
- Nothing.
Definition at line 167 of file move.h.
template<typename _Tp , size_t _Nm>
void std::swap |
( |
_Tp(&) |
__a[_Nm], |
|
|
_Tp(&) |
__b[_Nm] |
|
) |
| |
|
inlinenoexcept |
Swap the contents of two arrays.
Definition at line 186 of file move.h.