Tue Jan 29 10:44:00 GMT 2002
> I have thought about creating my own basic_filebuf class with Search
> implemented and then setting it by using MyFile.rdbuf(&MyBuf). According to
> documentation I read (C++ Programming Language) this should make my ifstream
> use my new buffer. This version of the std::basic_ios (I think) is not
> implemented it seems.
This is correct. Make sure you are using libstdc++-v3. If you look
through testsuite/27_io/*.cc you'll see some examples of this.
More information about the Libstdc++