wstring_convert() : wstring_convert( new Codecvt ) {}
(1)explicit wstring_convert( Codecvt* pcvt );
(2)wstring_convert( Codecvt* pcvt, state_type state );
(3)explicit wstring_convert( const byte_string& byte_err,
const wide_string& wide_err = wide_string() );
byte_err_string
wide_err_string
cvtptr
cvtstate
cvtcount
(1) default-initialized new Codecvt default-initialized uninitialized (2) pcvt (3) state (4) byte_err wide_err new Codecvt state_type()
2,3) If pcvt is a null pointer, the behavior is undefined.
[edit] Parameters pcvt - pointer to the conversion facet state - initial value of the conversion shift state byte_err - narrow string to display on errors wide_err - wide string to display on errors [edit] Example [edit] Defect reportsThe following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR Applied to Behavior as published Correct behavior LWG 2175 C++11 pcvt could be a null pointer the behavior is undefined in this case LWG 2176 C++11 constructors accepting single argument were implicit made explicit P0935R0 C++11 the default constructor was explicit made implicitRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4