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 an old version of Boost. Click here to view this page for the latest version.
Boost.Nowide
Namespaces | Macros
config.hpp File Reference
#include <boost/config.hpp>
#include <boost/nowide/replacement.hpp>
#include <boost/version.hpp>

Go to the source code of this file.

Namespaces

 boost::nowide
 This namespace includes implementations of the standard library functions and classes such that they accept UTF-8 strings on Windows. On other platforms (i.e. not on Windows) those functions and classes are just aliases of the corresponding ones from the std namespace or behave like them.
 

Macros

#define BOOST_NOWIDE_USE_WCHAR_OVERLOADS   0
 Whether to use the wchar_t* overloads in fstream/filebuf Enabled on Windows and Cygwin as the latter may use wchar_t in filesystem::path.
 
#define BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT   0
 Define to 1 to use internal class from filebuf.hpp. More...
 

Macro Definition Documentation

◆ BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT

#define BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT   0

Define to 1 to use internal class from filebuf.hpp.

  • On Non-Windows platforms: Define to 1 to use the same class from header <filebuf.hpp> that is used on Windows.
  • On Windows: No effect, always overwritten to 1

Affects boost::nowide::basic_filebuf, boost::nowide::basic_ofstream, boost::nowide::basic_ifstream, boost::nowide::basic_fstream