Section

std::wbuffer_convert

std::wbuffer_convert is a wrapper over stream buffer of type std::basic_streambuf which gives it the appearance of std::basic_streambuf. All I/O performed through std::wbuffer_convert undergoes character conversion as defined by the facet Codecvt. std::wbuffer_convert assumes ownership of the conversion facet, and cannot use a facet managed by a locale.

# Declarations

template<
class Codecvt,
class Elem = wchar_t,
class Tr = std::char_traits<Elem>
> class wbuffer_convert : public std::basic_streambuf<Elem, Tr>

(since C++11) (deprecated in C++17) (removed in C++26)

# See also