|
libstdc++
|
|
Components deemed generally useful. Includes pair, tuple, forward/move helpers, ratio, function object, metaprogramming and type traits, time, date, and memory functions.
| _Tp* std::__addressof | ( | _Tp & | __r | ) | [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().
| _Tp* std::addressof | ( | _Tp & | __r | ) | [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().
| add_rvalue_reference< _Tp >::type std::declval | ( | ) | [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 | ) |
| conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type std::move_if_noexcept | ( | _Tp & | __x | ) | [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.
| void std::swap | ( | _Tp & | __a, |
| _Tp & | __b | ||
| ) | const [inline] |
Swaps two values.
| __a | A thing of arbitrary type. |
| __b | Another thing of arbitrary type. |
| void std::swap | ( | _Tp(&) | __a[_Nm], |
| _Tp(&) | __b[_Nm] | ||
| ) | [inline] |
Swap the contents of two arrays.