[RFC] Non-conforming begin() and end() iterators in <set> end <multiset>?

Paolo Carlini pcarlini@unitus.it
Thu Feb 27 19:36:00 GMT 2003


Hi,

in this message, which also contains a testcase:

    http://gcc.gnu.org/ml/gcc-bugs/2003-02/msg01402.html

Uwe Sassenberg pointed out that in <set> and <multiset> we
have for begin() (same for end() and the reverse versions):

  iterator begin() const;

instead of the couple (23.3.3):

  iterator begin();
  const_iterator begin() const;

Is our implementation ok?

Thanks for any explanation,
Paolo.



More information about the Libstdc++ mailing list