Bug#436175:

2007-08-05 Thread Amos Jeffries
oops, Forgot to include the streambuf child class details. class StoreEntryStreamBuf : public std::streambuf { public: StoreEntryStreamBuf(StoreEntry *anEntry) : anEntry(anEntry); ~StoreEntryStreamBuf(); protected: virtual char overflow(char aChar = traits_type::eof()); virtual in

Bug#436175: streambuf inheritance problem.

2007-08-05 Thread Amos Jeffries
Package: g++ Version: 4.1.3 20070718 (prerelease) Creating two classes that inherit from std::ostream and std::streambuf. When used with setw and characters: child << "some text" << std::setw(4) << "!"; only ever stores "some text" However numerics work: child << "some text" << std::setw(4)