wifstream/wofstream names

I

Ioannis Vranos

Regarding wifstreams/wofstreams, is it possible to create files (where
applicable) with wchar_t names in standard C++, given that their
equivalent constructors accept a const char * and not a const wchar_t *?


Or are we forced to use system-specific solutions?


Thanks.
 
E

Eric.Malenfant

Regarding wifstreams/wofstreams, is it possible to create files (where
applicable) with wchar_t names in standard C++, given that their
equivalent constructors accept a const char * and not a const wchar_t *?

Not yet.
Or are we forced to use system-specific solutions?

Last time I checked, a Filesystem library was considered for TR2. The
proposal is based on Boost.Filesystem, which supports wchar_t names:
http://www.boost.org/doc/libs/1_36_0/libs/filesystem/doc/index.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top