A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://en.cppreference.com/w/cpp/../cpp/../cpp/error/../locale/wstring_convert/wstring_convert.html below:

std::wstring_convert<Codecvt,Elem,Wide_alloc,Byte_alloc>::wstring_convert - cppreference.com

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() );

(4) (5) (since C++14)  Overload  Data members  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 reports

The 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 implicit

RetroSearch 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