Boost.Nowide
|
Same as std::basic_fstream<char> but accepts UTF-8 strings under Windows. More...
#include <boost/nowide/fstream.hpp>
Public Types | |
typedef basic_filebuf< CharType, Traits > | internal_buffer_type |
typedef std::basic_iostream< CharType, Traits > | internal_stream_type |
Public Member Functions | |
basic_fstream (char const *file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::in) | |
basic_fstream (std::string const &file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::in) | |
void | open (std::string const &file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::out) |
void | open (char const *file_name, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::out) |
bool | is_open () |
bool | is_open () const |
void | close () |
internal_buffer_type * | rdbuf () const |
Same as std::basic_fstream<char> but accepts UTF-8 strings under Windows.