This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
mistypes in stl header files
- To: gcc-bugs at gcc dot gnu dot org
- Subject: mistypes in stl header files
- From: root <root at ios dot geo dot sztaki dot hu>
- Date: Fri, 24 Sep 1999 11:19:07 +0200
- Reply-to: benko at sztaki dot hu
I found two mistypes that are not present on the SGI website:
1. in file <memory> line 92-93 is
template <class _Tp1> operator auto_ptr_ref<_Tp1>() __STL_NOTHROW
{ return auto_ptr_ref<_Tp>(this->release()); }
instead of
template <class _Tp1> operator auto_ptr_ref<_Tp1>() __STL_NOTHROW
{ return auto_ptr_ref<_Tp1>(this->release()); }
2. in file "stl_deque.h" line 346 is
typedef _Deque_iterator<_Tp,const _Tp&,const _Tp&, __bufsiz> const_iterator;
instead of
typedef _Deque_iterator<_Tp,const _Tp&,const _Tp*, __bufsiz> const_iterator;
Benko Pal