public member function
<string>

std::wstring_convert::state

state_type state() const;
Conversion shift state
Returns the current shift state.

If the object has performed a conversion operation, this is the resulting state of the operation.

Parameters

none

Return value

The conversion shift state.
state_type is a member type, defined as an alias of Codecvt::state_type (where Codecvt is the first template parameter of wstring_convert).

Data races

The wstring_convert object is accessed.

Exception safety

Strong guarantee: if an exception is thrown, there are no changes in the object.

See also