This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

RE: breaking compatibility



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> >
> {};


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