This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: std_sstream.h - patch
- To: Jason Merrill <jason@cygnus.com>
- Subject: Re: std_sstream.h - patch
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Wed, 26 May 1999 21:33:54 -0700 (PDT)
- cc: libstdc++@sourceware.cygnus.com
I wasn't aware of the "iffy" factor.
I'll change the relevant bits of stringbuf/filebuf, and just remove
the dynamic_casts to streambuf.
-Benjamin
On 26 May 1999, Jason Merrill wrote:
> A dynamic_cast from derived to base is semantically equivalent to a
> static_cast, yes. But as Nathan says, it indicates to the reader that
> run-time checks are needed, even if in practice they are not.