This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
RE: breaking compatibility
- To: Loren Osborn <loren at reflexive dot net>
- Subject: RE: breaking compatibility
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 19 Apr 2001 11:35:02 -0700 (PDT)
- cc: libstdc++ at gcc dot gnu dot org
Why don't you just use iosfwd? It's specifically designed to do the
forward decls for you.
-benjamin
> typedef class std::basic_istream<char, std::char_traits<char> > istream;
>
> The easiest work around I can think of for this problem would be to,
> instead, declare istream:
>
> class istream : public std::basic_istream<char, std::char_traits<char> >
> {};