std::string overloads for xfstream
Ed Smith-Rowland
3dw4rd@verizon.net
Tue Mar 17 14:40:00 GMT 2009
Hi,
This little tidbit provides the C++-0X std::string overloads for fstream
and friends. This makes it so you don't need name_string.c_str() to
open a file.
There is another piece to this involving the C++-0X rework of
ios_base::failure but that issue is deeper and will follow in another
patch when I can get it working. It would also benefit from completion
of std::system_error from which it now derives.
We generally know about the big bits of C++-0X and are making rapid
progress. But there are probably lots of crumbs like this one that are
not captured in the status pages. (e.g. I know that valarray needs the
rvalue swap method and namespace swap functions and rvalue ctors and
assigns). I'll work from the bottom up compiling a list of these
tidbits. If anyone else has noticed missing things or knows of a
fine-grained diff w.r.t. 2003 that would be really helpful.
Ed Smith-Rowland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CL_fstream_string
Type: application/octet-stream
Size: 775 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090317/189f63c8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fstream_string.patch
Type: text/x-patch
Size: 23556 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090317/189f63c8/attachment.bin>
More information about the Libstdc++
mailing list