libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ operator=() [1/2]

template<typename _Key, typename _Val, typename _KeyOfValue, typename _Compare, typename _Alloc>
_Rb_tree< _Key, _Val, _KeyOfValue, _Compare, _Alloc > & std::_Rb_tree< _Key, _Val, _KeyOfValue, _Compare, _Alloc >::operator= ( _Rb_tree< _Key, _Val, _KeyOfValue, _Compare, _Alloc > && __x)
inlinenoexcept

Definition at line 2427 of file stl_tree.h.

2431 {
2432 _M_impl._M_key_compare = std::move(__x._M_impl._M_key_compare);
2435 return *this;
2436 }
constexpr std::remove_reference< _Tp >::type && move(_Tp &&__t) noexcept
Convert a value to an rvalue.
Definition move.h:138
_Key_compare _M_key_compare
Definition stl_tree.h:142
_Rb_tree_impl< _Compare > _M_impl
Definition stl_tree.h:1349
void _M_move_assign(_Rb_tree &, true_type)
Definition stl_tree.h:2395

References _Rb_tree(), _M_impl, _M_move_assign(), __gnu_cxx::__alloc_traits< _Node_allocator >::_S_nothrow_move(), and std::move().

Here is the call graph for this function: