This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: non-standard things in the gnu stl
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Uwe Sassenberg <uwe at sci-d-vis dot com>
- Cc: bug-gcc at gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: 28 Feb 2003 02:43:46 +0100
- Subject: Re: non-standard things in the gnu stl
- Organization: Integrable Solutions
- References: <3E5E269C.8040907@sci-d-vis.com>
Uwe Sassenberg <uwe at sci-d-vis dot com> writes:
| Here is a brief description of the problem:
|
| ------------8<------------
|
| There is no difference in the definition of std::set<T>::iterator and
| std::set<T>::const_iterator.
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-defects.html#103
| As a consequence, there is only a method
|
| iterator begin() const;
|
| but the Standard requires two methods
|
| const_iterator begin() const;
| iterator begin();
-- Gaby