This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/14410] Bug with implementation of set for const iterators in g++ ...


------- Additional Comments From reichelt at igpm dot rwth-aachen dot de  2004-03-05 08:51 -------
Subject: Re:  Bug with implementation of set for const
 iterators in g++ ...

On  4 Mar, pcarlini at suse dot de wrote:
> 
> ------- Additional Comments From pcarlini at suse dot de  2004-03-04 01:12 -------
> The issue was already presented in the past, for instance in:
> 
>    http://gcc.gnu.org/ml/gcc-bugs/2003-02/msg01402.html
> 
> Basically, in the light of the resolution of DR 103 [WP], "...For associative
> containers where the value type is the same as the key type, both iterator and
> const_iterator are constant iterators...". Therefore, our current implementation
> is conforming.

Oops! Sorry for the confusion.
But to prevent that from happening again, shouldn't we add a comment
like "DR 103" to the typedefs of the iterators in question?




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14410


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]