public member function
<string>

std::wbuffer_convert::state

state_type state() const;
Conversion shift state
Returns the current shift state used by the conversion object.

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 wbuffer_convert).

Data races

The wbuffer_convert object is accessed.

Exception safety

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

See also

wbuffer_convert::rdstate