Should basic_*stream::is_open() be const?
Andreas Kohn
andreas@syndrom23.de
Fri Aug 13 02:32:00 GMT 2004
On Fri, 2004-08-13 at 04:02, Matt Austern wrote:
> On Aug 12, 2004, at 5:24 PM, Andreas Kohn wrote:
> [basic_stream::is_open() isn't const as expected]
> >
> > I do know that there is a C++ Standard, but I don't have it for
> > reference, so I am not perfectly sure if this is a "bug" in libstdc++,
> > the Microsoft STL implementation, or perhaps an omission from the
> > standard.
>
> The latter.
> http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#365
>
> --Matt
Thank you.
So, if I read this correctly, "Note that implementers can make this
change in a binary compatible way by providing both overloads; this
would be a conforming extension." overloads could be added to libstdc++
without violating the standard?
Is anything like that planned?
Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040813/ef937352/attachment.sig>
More information about the Libstdc++
mailing list