std::wbuffer_convert<Codecvt,Elem,Tr>::wbuffer_convert (3) - Linux Manuals
std::wbuffer_convert<Codecvt,Elem,Tr>::wbuffer_convert: std::wbuffer_convert<Codecvt,Elem,Tr>::wbuffer_convert
NAME
std::wbuffer_convert<Codecvt,Elem,Tr>::wbuffer_convert - std::wbuffer_convert<Codecvt,Elem,Tr>::wbuffer_convert
Synopsis
wbuffer_convert() : wbuffer_convert(nullptr) { } (1)
explicit wbuffer_convert( std::streambuf* bytebuf,
Codecvt* pcvt = new Codecvt, (2)
state_type state = state_type() );
wbuffer_convert(const std::wbuffer_convert&) = delete; (3) (since C++14)
1) Default constructor.
2) Constructs the wbuffer_convert object with the specified underlying byte stream, specified codecvt facet, and specified initial conversion state (all parameters are optional)
3) The copy constructor is deleted, wbuffer_convert is not CopyConstructible
Parameters
bytebuf - pointer to std::streambuf to serve as the underlying narrow character stream
pcvt - pointer to a standalone (not managed by a locale) std::codecvt facet. The behavior is undefined if this pointer is null.
state - the initial value of the character conversion state
Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR Applied to Behavior as published Correct behavior
P0935R0 C++11 default constructor was explicit made implicit
Example
// Run this code
Output: