This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: basic_streambuf<> and copying
> basic_streambuf<> contains a lot of pointers but it does not prohibit
> the copying.
> What does the standard say about the copying of basic_streambuf<>?
Good question. AFAICT, no copy ctor is listed in the basic_streambuf
template. According to the library introduction clause, the default
copy ctor should then be operate.
This sounds like a question for comp.std.c++. FYI, together with Bruce
Eckel, we just clarified (for ourselves) that classes derived from
basic_ios are not copyconstructable.
Regards,
Martin