
Jonathan Turkanis wrote:
David Abrahams wrote:
"Jonathan Turkanis" writes:
David Abrahams wrote:
Sounds like stream<X> and streambuf<X> might be a good choice.
I'm afraid that readers of library documentation and user code will get boost::iostreams::streambuf and std::streambuf mixed up. Otherwise, it would be my first choice.
No problem; just use qualification. you can also tell people there's a namespace alias in place for boost::iostreams
namespace io = boost::iostreams;
Okay, I've run out of time for renaming and it looks like this is the safest choice -- meaning I'm sure I won't end up hating these names, even if they cause some confusion.
I just remembered that having a template boost::iostreams::char_traits confused some old compilers, because of std::char_traits. It's a bit late to be causing regressions, so I think I'll go with stream / stream_buffer.
Thanks again.
Jonathan