60 #if __cplusplus >= 201103L
61 #include <initializer_list>
64 namespace std _GLIBCXX_VISIBILITY(default)
68 _GLIBCXX_BEGIN_NAMESPACE_VERSION
90 _M_reverse() _GLIBCXX_USE_NOEXCEPT;
96 _M_unhook() _GLIBCXX_USE_NOEXCEPT;
99 _GLIBCXX_END_NAMESPACE_VERSION
102 _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
105 template<
typename _Tp>
111 #if __cplusplus >= 201103L
112 template<
typename... _Args>
114 : __detail::_List_node_base(), _M_data(
std::
forward<_Args>(__args)...)
124 template<
typename _Tp>
130 typedef ptrdiff_t difference_type;
132 typedef _Tp value_type;
133 typedef _Tp* pointer;
134 typedef _Tp& reference;
144 _M_const_cast()
const _GLIBCXX_NOEXCEPT
149 operator*()
const _GLIBCXX_NOEXCEPT
150 {
return static_cast<_Node*
>(_M_node)->_M_data; }
153 operator->()
const _GLIBCXX_NOEXCEPT
157 operator++() _GLIBCXX_NOEXCEPT
159 _M_node = _M_node->_M_next;
164 operator++(
int) _GLIBCXX_NOEXCEPT
167 _M_node = _M_node->_M_next;
172 operator--() _GLIBCXX_NOEXCEPT
174 _M_node = _M_node->_M_prev;
179 operator--(
int) _GLIBCXX_NOEXCEPT
182 _M_node = _M_node->_M_prev;
187 operator==(
const _Self& __x)
const _GLIBCXX_NOEXCEPT
188 {
return _M_node == __x._M_node; }
191 operator!=(
const _Self& __x)
const _GLIBCXX_NOEXCEPT
192 {
return _M_node != __x._M_node; }
203 template<
typename _Tp>
210 typedef ptrdiff_t difference_type;
212 typedef _Tp value_type;
213 typedef const _Tp* pointer;
214 typedef const _Tp& reference;
225 : _M_node(__x._M_node) { }
228 _M_const_cast()
const _GLIBCXX_NOEXCEPT
229 {
return iterator(const_cast<__detail::_List_node_base*>(_M_node)); }
234 operator*()
const _GLIBCXX_NOEXCEPT
235 {
return static_cast<_Node*
>(_M_node)->_M_data; }
238 operator->()
const _GLIBCXX_NOEXCEPT
242 operator++() _GLIBCXX_NOEXCEPT
244 _M_node = _M_node->_M_next;
249 operator++(
int) _GLIBCXX_NOEXCEPT
252 _M_node = _M_node->_M_next;
257 operator--() _GLIBCXX_NOEXCEPT
259 _M_node = _M_node->_M_prev;
264 operator--(
int) _GLIBCXX_NOEXCEPT
267 _M_node = _M_node->_M_prev;
272 operator==(
const _Self& __x)
const _GLIBCXX_NOEXCEPT
273 {
return _M_node == __x._M_node; }
276 operator!=(
const _Self& __x)
const _GLIBCXX_NOEXCEPT
277 {
return _M_node != __x._M_node; }
283 template<
typename _Val>
287 {
return __x._M_node == __y._M_node; }
289 template<
typename _Val>
291 operator!=(
const _List_iterator<_Val>& __x,
292 const _List_const_iterator<_Val>& __y) _GLIBCXX_NOEXCEPT
293 {
return __x._M_node != __y._M_node; }
295 _GLIBCXX_BEGIN_NAMESPACE_CXX11
297 template<
typename _Tp,
typename _Alloc>
314 typedef typename _Alloc::template rebind<_List_node<_Tp> >::other
317 typedef typename _Alloc::template rebind<_Tp>::other _Tp_alloc_type;
324 while (__first != __last)
326 __first = __first->_M_next;
333 :
public _Node_alloc_type
335 #if _GLIBCXX_USE_CXX11_ABI
342 : _Node_alloc_type(), _M_node()
345 _List_impl(
const _Node_alloc_type& __a) _GLIBCXX_NOEXCEPT
346 : _Node_alloc_type(__a), _M_node()
349 #if __cplusplus >= 201103L
350 _List_impl(_Node_alloc_type&& __a) _GLIBCXX_NOEXCEPT
351 : _Node_alloc_type(
std::move(__a)), _M_node()
358 #if _GLIBCXX_USE_CXX11_ABI
359 size_t _M_get_size()
const {
return _M_impl._M_node._M_data; }
361 void _M_set_size(
size_t __n) { _M_impl._M_node._M_data = __n; }
363 void _M_inc_size(
size_t __n) { _M_impl._M_node._M_data += __n; }
365 void _M_dec_size(
size_t __n) { _M_impl._M_node._M_data -= __n; }
370 {
return _S_distance(__first, __last); }
373 size_t _M_node_count()
const {
return _M_impl._M_node._M_data; }
376 size_t _M_get_size()
const {
return 0; }
377 void _M_set_size(
size_t) { }
378 void _M_inc_size(
size_t) { }
379 void _M_dec_size(
size_t) { }
380 size_t _M_distance(
const void*,
const void*)
const {
return 0; }
383 size_t _M_node_count()
const
385 return _S_distance(_M_impl._M_node._M_next,
392 {
return _M_impl._Node_alloc_type::allocate(1); }
396 { _M_impl._Node_alloc_type::deallocate(__p, 1); }
399 typedef _Alloc allocator_type;
402 _M_get_Node_allocator() _GLIBCXX_NOEXCEPT
403 {
return *
static_cast<_Node_alloc_type*
>(&_M_impl); }
405 const _Node_alloc_type&
406 _M_get_Node_allocator()
const _GLIBCXX_NOEXCEPT
407 {
return *
static_cast<const _Node_alloc_type*
>(&_M_impl); }
410 _M_get_Tp_allocator()
const _GLIBCXX_NOEXCEPT
411 {
return _Tp_alloc_type(_M_get_Node_allocator()); }
414 get_allocator()
const _GLIBCXX_NOEXCEPT
415 {
return allocator_type(_M_get_Node_allocator()); }
421 _List_base(
const _Node_alloc_type& __a) _GLIBCXX_NOEXCEPT
425 #if __cplusplus >= 201103L
427 : _M_impl(
std::move(__x._M_get_Node_allocator()))
430 if (__xnode->_M_next == __xnode)
435 __node->_M_next = __xnode->_M_next;
436 __node->_M_prev = __xnode->_M_prev;
437 __node->_M_next->_M_prev = __node->_M_prev->_M_next = __node;
438 _M_set_size(__x._M_get_size());
449 _M_clear() _GLIBCXX_NOEXCEPT;
452 _M_init() _GLIBCXX_NOEXCEPT
454 this->_M_impl._M_node._M_next = &this->_M_impl._M_node;
455 this->_M_impl._M_node._M_prev = &this->_M_impl._M_node;
506 template<
typename _Tp,
typename _Alloc = std::allocator<_Tp> >
510 typedef typename _Alloc::value_type _Alloc_value_type;
511 __glibcxx_class_requires(_Tp, _SGIAssignableConcept)
512 __glibcxx_class_requires2(_Tp, _Alloc_value_type, _SameTypeConcept)
515 typedef typename _Base::_Tp_alloc_type _Tp_alloc_type;
516 typedef typename _Base::_Node_alloc_type _Node_alloc_type;
519 typedef _Tp value_type;
520 typedef typename _Tp_alloc_type::pointer pointer;
521 typedef typename _Tp_alloc_type::const_pointer const_pointer;
522 typedef typename _Tp_alloc_type::reference reference;
523 typedef typename _Tp_alloc_type::const_reference const_reference;
528 typedef size_t size_type;
529 typedef ptrdiff_t difference_type;
530 typedef _Alloc allocator_type;
537 using _Base::_M_impl;
538 using _Base::_M_put_node;
539 using _Base::_M_get_node;
540 using _Base::_M_get_Tp_allocator;
541 using _Base::_M_get_Node_allocator;
549 #if __cplusplus < 201103L
553 _Node* __p = this->_M_get_node();
556 _M_get_Tp_allocator().construct
562 __throw_exception_again;
567 template<
typename... _Args>
571 _Node* __p = this->_M_get_node();
574 _M_get_Node_allocator().construct(__p,
575 std::forward<_Args>(__args)...);
580 __throw_exception_again;
594 #if __cplusplus >= 201103L
595 noexcept(is_nothrow_default_constructible<_Node_alloc_type>::value)
604 list(
const allocator_type& __a) _GLIBCXX_NOEXCEPT
605 : _Base(_Node_alloc_type(__a)) { }
607 #if __cplusplus >= 201103L
618 { _M_default_initialize(__n); }
628 list(size_type __n,
const value_type& __value,
629 const allocator_type& __a = allocator_type())
630 : _Base(_Node_alloc_type(__a))
631 { _M_fill_initialize(__n, __value); }
642 list(size_type __n,
const value_type& __value = value_type(),
643 const allocator_type& __a = allocator_type())
644 : _Base(_Node_alloc_type(__a))
645 { _M_fill_initialize(__n, __value); }
656 : _Base(__x._M_get_Node_allocator())
657 { _M_initialize_dispatch(__x.
begin(), __x.
end(), __false_type()); }
659 #if __cplusplus >= 201103L
678 list(initializer_list<value_type> __l,
679 const allocator_type& __a = allocator_type())
680 : _Base(_Node_alloc_type(__a))
681 { _M_initialize_dispatch(__l.begin(), __l.end(), __false_type()); }
694 #if __cplusplus >= 201103L
695 template<
typename _InputIterator,
696 typename = std::_RequireInputIter<_InputIterator>>
697 list(_InputIterator __first, _InputIterator __last,
698 const allocator_type& __a = allocator_type())
699 : _Base(_Node_alloc_type(__a))
700 { _M_initialize_dispatch(__first, __last, __false_type()); }
702 template<
typename _InputIterator>
703 list(_InputIterator __first, _InputIterator __last,
704 const allocator_type& __a = allocator_type())
705 : _Base(_Node_alloc_type(__a))
708 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
709 _M_initialize_dispatch(__first, __last, _Integral());
731 #if __cplusplus >= 201103L
759 this->
assign(__l.begin(), __l.end());
775 assign(size_type __n,
const value_type& __val)
776 { _M_fill_assign(__n, __val); }
790 #if __cplusplus >= 201103L
791 template<
typename _InputIterator,
792 typename = std::_RequireInputIter<_InputIterator>>
794 assign(_InputIterator __first, _InputIterator __last)
795 { _M_assign_dispatch(__first, __last, __false_type()); }
797 template<
typename _InputIterator>
799 assign(_InputIterator __first, _InputIterator __last)
802 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
803 _M_assign_dispatch(__first, __last, _Integral());
807 #if __cplusplus >= 201103L
817 { this->
assign(__l.begin(), __l.end()); }
823 {
return _Base::get_allocator(); }
832 {
return iterator(this->_M_impl._M_node._M_next); }
841 {
return const_iterator(this->_M_impl._M_node._M_next); }
850 {
return iterator(&this->_M_impl._M_node); }
858 end() const _GLIBCXX_NOEXCEPT
859 {
return const_iterator(&this->_M_impl._M_node); }
868 {
return reverse_iterator(
end()); }
875 const_reverse_iterator
877 {
return const_reverse_iterator(
end()); }
886 {
return reverse_iterator(
begin()); }
893 const_reverse_iterator
895 {
return const_reverse_iterator(
begin()); }
897 #if __cplusplus >= 201103L
905 {
return const_iterator(this->_M_impl._M_node._M_next); }
914 {
return const_iterator(&this->_M_impl._M_node); }
921 const_reverse_iterator
923 {
return const_reverse_iterator(
end()); }
930 const_reverse_iterator
932 {
return const_reverse_iterator(
begin()); }
942 {
return this->_M_impl._M_node._M_next == &this->_M_impl._M_node; }
947 {
return this->_M_node_count(); }
952 {
return _M_get_Node_allocator().max_size(); }
954 #if __cplusplus >= 201103L
965 resize(size_type __new_size);
978 resize(size_type __new_size,
const value_type& __x);
991 resize(size_type __new_size, value_type __x = value_type());
1001 {
return *
begin(); }
1009 {
return *
begin(); }
1018 iterator __tmp =
end();
1030 const_iterator __tmp =
end();
1048 { this->_M_insert(
begin(), __x); }
1050 #if __cplusplus >= 201103L
1055 template<
typename... _Args>
1057 emplace_front(_Args&&... __args)
1058 { this->_M_insert(
begin(), std::forward<_Args>(__args)...); }
1075 { this->_M_erase(
begin()); }
1089 { this->_M_insert(
end(), __x); }
1091 #if __cplusplus >= 201103L
1096 template<
typename... _Args>
1098 emplace_back(_Args&&... __args)
1099 { this->_M_insert(
end(), std::forward<_Args>(__args)...); }
1115 { this->_M_erase(iterator(this->_M_impl._M_node._M_prev)); }
1117 #if __cplusplus >= 201103L
1130 template<
typename... _Args>
1132 emplace(const_iterator __position, _Args&&... __args);
1146 insert(const_iterator __position,
const value_type& __x);
1160 insert(iterator __position,
const value_type& __x);
1163 #if __cplusplus >= 201103L
1176 insert(const_iterator __position, value_type&& __x)
1195 insert(const_iterator __p, initializer_list<value_type> __l)
1196 {
return this->
insert(__p, __l.begin(), __l.end()); }
1199 #if __cplusplus >= 201103L
1215 insert(const_iterator __position, size_type __n,
const value_type& __x);
1230 insert(iterator __position, size_type __n,
const value_type& __x)
1233 splice(__position, __tmp);
1237 #if __cplusplus >= 201103L
1253 template<
typename _InputIterator,
1254 typename = std::_RequireInputIter<_InputIterator>>
1256 insert(const_iterator __position, _InputIterator __first,
1257 _InputIterator __last);
1272 template<
typename _InputIterator>
1274 insert(iterator __position, _InputIterator __first,
1275 _InputIterator __last)
1278 splice(__position, __tmp);
1298 #if __cplusplus >= 201103L
1299 erase(const_iterator __position) noexcept;
1301 erase(iterator __position);
1323 #if __cplusplus >= 201103L
1324 erase(const_iterator __first, const_iterator __last) noexcept
1326 erase(iterator __first, iterator __last)
1329 while (__first != __last)
1330 __first =
erase(__first);
1331 return __last._M_const_cast();
1346 __detail::_List_node_base::swap(this->_M_impl._M_node,
1347 __x._M_impl._M_node);
1349 size_t __xsize = __x._M_get_size();
1350 __x._M_set_size(this->_M_get_size());
1351 this->_M_set_size(__xsize);
1355 std::__alloc_swap<typename _Base::_Node_alloc_type>::
1356 _S_do_it(_M_get_Node_allocator(), __x._M_get_Node_allocator());
1385 #if __cplusplus >= 201103L
1393 _M_check_equal_allocators(__x);
1395 this->_M_transfer(__position._M_const_cast(),
1398 this->_M_inc_size(__x._M_get_size());
1403 #if __cplusplus >= 201103L
1405 splice(const_iterator __position,
list& __x) noexcept
1409 #if __cplusplus >= 201103L
1421 splice(const_iterator __position,
list&& __x, const_iterator __i) noexcept
1433 splice(iterator __position,
list& __x, iterator __i)
1436 iterator __j = __i._M_const_cast();
1438 if (__position == __i || __position == __j)
1442 _M_check_equal_allocators(__x);
1444 this->_M_transfer(__position._M_const_cast(),
1445 __i._M_const_cast(), __j);
1447 this->_M_inc_size(1);
1451 #if __cplusplus >= 201103L
1463 splice(const_iterator __position,
list& __x, const_iterator __i) noexcept
1467 #if __cplusplus >= 201103L
1482 splice(const_iterator __position,
list&& __x, const_iterator __first,
1483 const_iterator __last) noexcept
1498 splice(iterator __position,
list& __x, iterator __first,
1502 if (__first != __last)
1505 _M_check_equal_allocators(__x);
1507 size_t __n = this->_M_distance(__first._M_node, __last._M_node);
1508 this->_M_inc_size(__n);
1509 __x._M_dec_size(__n);
1511 this->_M_transfer(__position._M_const_cast(),
1512 __first._M_const_cast(),
1513 __last._M_const_cast());
1517 #if __cplusplus >= 201103L
1532 splice(const_iterator __position,
list& __x, const_iterator __first,
1533 const_iterator __last) noexcept
1549 remove(
const _Tp& __value);
1562 template<
typename _Predicate>
1591 template<
typename _BinaryPredicate>
1593 unique(_BinaryPredicate);
1604 #if __cplusplus >= 201103L
1629 #if __cplusplus >= 201103L
1630 template<
typename _StrictWeakOrdering>
1632 merge(
list&& __x, _StrictWeakOrdering __comp);
1634 template<
typename _StrictWeakOrdering>
1636 merge(
list& __x, _StrictWeakOrdering __comp)
1639 template<
typename _StrictWeakOrdering>
1641 merge(
list& __x, _StrictWeakOrdering __comp);
1651 { this->_M_impl._M_node._M_reverse(); }
1668 template<
typename _StrictWeakOrdering>
1670 sort(_StrictWeakOrdering);
1679 template<
typename _Integer>
1681 _M_initialize_dispatch(_Integer __n, _Integer __x, __true_type)
1682 { _M_fill_initialize(static_cast<size_type>(__n), __x); }
1685 template<
typename _InputIterator>
1687 _M_initialize_dispatch(_InputIterator __first, _InputIterator __last,
1690 for (; __first != __last; ++__first)
1691 #
if __cplusplus >= 201103L
1692 emplace_back(*__first);
1701 _M_fill_initialize(size_type __n,
const value_type& __x)
1707 #if __cplusplus >= 201103L
1710 _M_default_initialize(size_type __n)
1718 _M_default_append(size_type __n);
1727 template<
typename _Integer>
1729 _M_assign_dispatch(_Integer __n, _Integer __val, __true_type)
1730 { _M_fill_assign(__n, __val); }
1733 template<
typename _InputIterator>
1735 _M_assign_dispatch(_InputIterator __first, _InputIterator __last,
1741 _M_fill_assign(size_type __n,
const value_type& __val);
1746 _M_transfer(iterator __position, iterator __first, iterator __last)
1747 { __position._M_node->_M_transfer(__first._M_node, __last._M_node); }
1750 #if __cplusplus < 201103L
1752 _M_insert(iterator __position,
const value_type& __x)
1755 __tmp->_M_hook(__position._M_node);
1756 this->_M_inc_size(1);
1759 template<
typename... _Args>
1761 _M_insert(iterator __position, _Args&&... __args)
1764 __tmp->_M_hook(__position._M_node);
1765 this->_M_inc_size(1);
1771 _M_erase(iterator __position) _GLIBCXX_NOEXCEPT
1773 this->_M_dec_size(1);
1774 __position._M_node->_M_unhook();
1775 _Node* __n =
static_cast<_Node*
>(__position._M_node);
1776 #if __cplusplus >= 201103L
1777 _M_get_Node_allocator().destroy(__n);
1786 _M_check_equal_allocators(
list& __x) _GLIBCXX_NOEXCEPT
1788 if (std::__alloc_neq<typename _Base::_Node_alloc_type>::
1789 _S_do_it(_M_get_Node_allocator(), __x._M_get_Node_allocator()))
1793 _GLIBCXX_END_NAMESPACE_CXX11
1805 template<
typename _Tp,
typename _Alloc>
1810 const_iterator __end1 = __x.
end();
1811 const_iterator __end2 = __y.
end();
1813 const_iterator __i1 = __x.
begin();
1814 const_iterator __i2 = __y.
begin();
1815 while (__i1 != __end1 && __i2 != __end2 && *__i1 == *__i2)
1820 return __i1 == __end1 && __i2 == __end2;
1834 template<
typename _Tp,
typename _Alloc>
1838 __y.begin(), __y.end()); }
1841 template<
typename _Tp,
typename _Alloc>
1844 {
return !(__x == __y); }
1847 template<
typename _Tp,
typename _Alloc>
1850 {
return __y < __x; }
1853 template<
typename _Tp,
typename _Alloc>
1856 {
return !(__y < __x); }
1859 template<
typename _Tp,
typename _Alloc>
1862 {
return !(__x < __y); }
1865 template<
typename _Tp,
typename _Alloc>
1870 _GLIBCXX_END_NAMESPACE_CONTAINER
void swap(_Tp &, _Tp &) noexcept(__and_< is_nothrow_move_constructible< _Tp >, is_nothrow_move_assignable< _Tp >>::value)
Swaps two values.
void push_back(const value_type &__x)
Add data to the end of the list.
reference front() noexcept
void unique()
Remove consecutive duplicate elements.
void assign(size_type __n, const value_type &__val)
Assigns a given value to a list.
const_reference front() const noexcept
list & operator=(initializer_list< value_type > __l)
List initializer list assignment operator.
list & operator=(list &&__x)
List move assignment operator.
bool empty() const noexcept
iterator insert(const_iterator __position, value_type &&__x)
Inserts given rvalue into list before specified iterator.
void assign(_InputIterator __first, _InputIterator __last)
Assigns a range to a list.
void sort()
Sort the elements.
const_reverse_iterator crend() const noexcept
void splice(const_iterator __position, list &&__x) noexcept
Insert contents of another list.
See bits/stl_deque.h's _Deque_base for an explanation.
void pop_front() noexcept
Removes first element.
const_iterator cend() const noexcept
iterator erase(const_iterator __first, const_iterator __last) noexcept
Remove a range of elements.
An actual node in the list.
iterator insert(const_iterator __p, initializer_list< value_type > __l)
Inserts the contents of an initializer_list into list before specified const_iterator.
constexpr _Tp && forward(typename std::remove_reference< _Tp >::type &__t) noexcept
Forward an lvalue.
bool operator>=(const basic_string< _CharT, _Traits, _Alloc > &__lhs, const basic_string< _CharT, _Traits, _Alloc > &__rhs)
Test if string doesn't precede string.
void remove_if(_Predicate)
Remove all elements satisfying a predicate.
size_type max_size() const noexcept
iterator emplace(const_iterator __position, _Args &&...__args)
Constructs object in list before specified iterator.
void pop_back() noexcept
Removes last element.
iterator begin() noexcept
const_reverse_iterator crbegin() const noexcept
list & operator=(const list &__x)
List assignment operator.
void push_front(const value_type &__x)
Add data to the front of the list.
bool operator>(const basic_string< _CharT, _Traits, _Alloc > &__lhs, const basic_string< _CharT, _Traits, _Alloc > &__rhs)
Test if string follows string.
list(const list &__x)
List copy constructor.
void splice(const_iterator __position, list &__x, const_iterator __first, const_iterator __last) noexcept
Insert range from another list.
size_type size() const noexcept
list(size_type __n, const value_type &__value, const allocator_type &__a=allocator_type())
Creates a list with copies of an exemplar element.
reverse_iterator rend() noexcept
allocator_type get_allocator() const noexcept
Get a copy of the memory allocation object.
const_reverse_iterator rend() const noexcept
void resize(size_type __new_size)
Resizes the list to the specified number of elements.
A standard container with linear time access to elements, and fixed time insertion/deletion at any po...
void splice(const_iterator __position, list &__x, const_iterator __i) noexcept
Insert element from another list.
void merge(list &&__x)
Merge sorted lists.
list(const allocator_type &__a) noexcept
Creates a list with no elements.
reference back() noexcept
list(size_type __n)
Creates a list with default constructed elements.
iterator erase(const_iterator __position) noexcept
Remove element at given position.
list(_InputIterator __first, _InputIterator __last, const allocator_type &__a=allocator_type())
Builds a list from a range.
const_iterator cbegin() const noexcept
_Tp _M_data
< User's data.
void splice(const_iterator __position, list &&__x, const_iterator __i) noexcept
Insert element from another list.
void assign(initializer_list< value_type > __l)
Assigns an initializer_list to a list.
reverse_iterator rbegin() noexcept
list(list &&__x) noexcept
List move constructor.
Common part of a node in the list.
const_reverse_iterator rbegin() const noexcept
void swap(list &__x)
Swaps data with another list.
const_reference back() const noexcept
_Node * _M_create_node(_Args &&...__args)
list(initializer_list< value_type > __l, const allocator_type &__a=allocator_type())
Builds a list from an initializer_list.
const_iterator begin() const noexcept
list() noexcept(is_nothrow_default_constructible< _Node_alloc_type >::value)
Creates a list with no elements.
iterator insert(const_iterator __position, const value_type &__x)
Inserts given value into list before specified iterator.
void reverse() noexcept
Reverse the elements in list.
void splice(const_iterator __position, list &&__x, const_iterator __first, const_iterator __last) noexcept
Insert range from another list.
Bidirectional iterators support a superset of forward iterator operations.
const_iterator end() const noexcept
_Tp * __addressof(_Tp &__r) noexcept
Same as C++11 std::addressof.
ISO C++ entities toplevel namespace is std.
bool lexicographical_compare(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _Compare __comp)
Performs dictionary comparison on ranges.
constexpr std::remove_reference< _Tp >::type && move(_Tp &&__t) noexcept
Convert a value to an rvalue.