By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,750 Members | 1,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,750 IT Pros & Developers. It's quick & easy.

Derived streambuf

P: n/a
All-

I have been looking at all the info I can find on deriving streambuf
objects, but I need some advice. I wish to derive a custom streambuf
that filters out c++ style comments. I have looked at the boost libs
and have attempted to impliment their filtered streambuf, but it does
not seemt o support seekg() and tellg() operations that I need.

My query is, are there any good refrerences for deriving a streambuf
that will work with stringstreams and filestreams? If one is to
override the streambuf's operators to filter out comments, which ones
would need to be re-written?

Thanks

-J

Oct 2 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.