libstdc++
|
![]() |
Modules | |
Function Objects | |
Functions | |
template<typename _Tp > | |
_Tp * | std::__addressof (_Tp &__r) _GLIBCXX_NOEXCEPT |
template<typename _Tp > | |
_Tp * | std::addressof (_Tp &__r) 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))) |
|
inline |
Same as C++11 std::addressof.
Definition at line 47 of file move.h.
Referenced by std::addressof(), and std::vector< _State >::data().
|
inlinenoexcept |
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().
|
noexcept |
|
noexcept |
|
noexcept |
Convert a value to an rvalue.
__t | A thing of arbitrary type. |
Definition at line 102 of file move.h.
Referenced by std::basic_regex< _Ch_type, _Rx_traits >::assign(), std::vector< _State >::insert(), std::list< __inp, __rebind_inp >::insert(), std::deque< _Tp, _Alloc >::insert(), std::forward_list< _Tp, _Alloc >::merge(), std::move_if_noexcept(), std::vector< _State >::operator=(), std::basic_regex< _Ch_type, _Rx_traits >::operator=(), and std::match_results< _FwdIterT, _Alloc >::operator=().
|
inlinenoexcept |
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.
Definition at line 122 of file move.h.
References std::move().
|
inlinenoexcept |
Swaps two values.
__a | A thing of arbitrary type. |
__b | Another thing of arbitrary type. |
Definition at line 167 of file move.h.
Referenced by __gnu_parallel::_LoserTree< __stable, _Tp, _Compare >::__delete_min_insert(), __gnu_parallel::_LoserTree< false, _Tp, _Compare >::__delete_min_insert(), std::__rotate(), __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_Safe_iterator(), std::regex_traits< _Ch_type >::imbue(), std::swap(), std::basic_regex< _Ch_type, _Rx_traits >::swap(), std::forward_list< _Tp, _Alloc >::swap(), and std::deque< _Tp, _Alloc >::swap().
|
inlinenoexcept |