Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 20a7dc9240.
Boost.Nowide
Public Member Functions | List of all members
boost::nowide::basic_fstream< CharType, Traits > Class Template Reference

Same as std::basic_fstream<char> but accepts UTF-8 strings under Windows. More...

#include <boost/nowide/fstream.hpp>

Inheritance diagram for boost::nowide::basic_fstream< CharType, Traits >:

Public Member Functions

 basic_fstream (const char *file_name, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out)
 
 basic_fstream (const wchar_t *file_name, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out)
 
 basic_fstream (const std::string &file_name, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out)
 
template<typename Path >
 basic_fstream (const Path &file_name, detail::enable_if_path_t< Path, std::ios_base::openmode > mode=std::ios_base::in|std::ios_base::out)
 
 basic_fstream (const basic_fstream &)=delete
 
basic_fstreamoperator= (const basic_fstream &)=delete
 
 basic_fstream (basic_fstream &&other) noexcept
 
basic_fstreamoperator= (basic_fstream &&rhs)
 

Detailed Description

template<typename CharType, typename Traits = std::char_traits<CharType>>
class boost::nowide::basic_fstream< CharType, Traits >

Same as std::basic_fstream<char> but accepts UTF-8 strings under Windows.

Affected by BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT and BOOST_NOWIDE_USE_WCHAR_OVERLOADS


The documentation for this class was generated from the following file: