[RFC] Default constructed stringbufs and stringstreams

Paolo Carlini pcarlini@suse.de
Wed Sep 29 15:26:00 GMT 2004


Benjamin Kosnik wrote:

>For:
>	* testsuite/27_io/basic_stringbuf/cons/char/1.cc: New.
>	* testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
>
>Have you thought of adopting the approach that filebuf uses and just use a
>constrait_stringbuf. I'd suggest testsuite_io.h....
>
>If you'd like, you could just templatize constraint_filebuf in
>testsuite_io.h, rename to constrait_streambuf, inherit from the template
>parameter.
>  
>
Yes, you are right. Will come up with something later today...

Thanks!
Paolo.



More information about the Libstdc++ mailing list