mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 21:33:59 +08:00
stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category.
2001-04-20 Phil Edwards <pme@sources.redhat.com> * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category. From-SVN: r41468
This commit is contained in:
parent
2c2ef4b9ac
commit
e906926f5f
@ -1,3 +1,8 @@
|
||||
2001-04-20 Phil Edwards <pme@sources.redhat.com>
|
||||
|
||||
* include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
|
||||
__iterator_category.
|
||||
|
||||
2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* acconfig.h (_GLIBCPP_USE_C99): Add.
|
||||
|
@ -498,7 +498,7 @@ template <typename _Alloc>
|
||||
template <class _InputIterator>
|
||||
void _M_initialize_dispatch(_InputIterator __first, _InputIterator __last,
|
||||
__false_type) {
|
||||
_M_initialize_range(__first, __last, __ITERATOR_CATEGORY(__first));
|
||||
_M_initialize_range(__first, __last, __iterator_category(__first));
|
||||
}
|
||||
|
||||
template <class _InputIterator>
|
||||
@ -553,7 +553,7 @@ template <typename _Alloc>
|
||||
|
||||
template <class _InputIter>
|
||||
void _M_assign_dispatch(_InputIter __first, _InputIter __last, __false_type)
|
||||
{ _M_assign_aux(__first, __last, __ITERATOR_CATEGORY(__first)); }
|
||||
{ _M_assign_aux(__first, __last, __iterator_category(__first)); }
|
||||
|
||||
template <class _InputIterator>
|
||||
void _M_assign_aux(_InputIterator __first, _InputIterator __last,
|
||||
@ -628,7 +628,7 @@ template <typename _Alloc>
|
||||
void _M_insert_dispatch(iterator __pos,
|
||||
_InputIterator __first, _InputIterator __last,
|
||||
__false_type) {
|
||||
_M_insert_range(__pos, __first, __last, __ITERATOR_CATEGORY(__first));
|
||||
_M_insert_range(__pos, __first, __last, __iterator_category(__first));
|
||||
}
|
||||
|
||||
template <class _InputIterator>
|
||||
|
Loading…
Reference in New Issue
Block a user