|
libstdc++
|
|
Modules | |
| Function Objects | |
| Memory | |
| Metaprogramming and type traits | |
| Rational Arithmetic | |
| Time | |
Functions | |
| 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 > |
| template<typename _Tp , size_t _Nm> | |
| void | std::swap (_Tp(&__a)[_Nm], _Tp(&__b)[_Nm]) noexcept(noexcept(swap(*__a |
Variables | |
| std::__a | |
| void * | std::__b |
|
void is_nothrow_move_assignable < _Tp >::value _Tp | std::__tmp |
Components deemed generally useful. Includes pair, tuple, forward/move helpers, ratio, function object, metaprogramming and type traits, time, date, and memory functions.
|
inline |
Same as C++11 std::addressof
.
Definition at line 47 of file move.h.
Referenced by std::addressof(), std::begin(), std::vector< sub_match< _Bi_iter >, allocator< sub_match< _Bi_iter > > >::data(), std::end(), std::forward_list< _Tp, _Alloc >::remove(), and std::list< _Tp, _Alloc >::remove().
|
inline |
Returns the actual address of the object or function referenced by r, even in the presence of an overloaded operator&.
| __r | Reference to an object or function. |
Definition at line 136 of file move.h.
References std::__addressof().
Referenced by std::pointer_traits< _Tp * >::pointer_to().
|
inline |
Utility to simplify expressions used in unevaluated operands
.
Definition at line 1774 of file type_traits.
| constexpr _Tp&& std::forward | ( | typename std::remove_reference< _Tp >::type & | __t | ) |
| constexpr _Tp&& std::forward | ( | typename std::remove_reference< _Tp >::type && | __t | ) |
| constexpr std::remove_reference<_Tp>::type&& std::move | ( | _Tp && | __t | ) |
|
inline |
Conditionally convert a value to an rvalue.
| __x | A thing of arbitrary type. |
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.
|
inline |
Swaps two values.
| __a | A thing of arbitrary type. |
| __b | Another thing of arbitrary type. |
|
inline |
Swap the contents of two arrays.