std::wstring_convert<Codecvt,Elem,Wide_alloc,Byte_alloc>::state (3) - Linux Manuals

std::wstring_convert<Codecvt,Elem,Wide_alloc,Byte_alloc>::state: std::wstring_convert<Codecvt,Elem,Wide_alloc,Byte_alloc>::state

NAME

std::wstring_convert<Codecvt,Elem,Wide_alloc,Byte_alloc>::state - std::wstring_convert<Codecvt,Elem,Wide_alloc,Byte_alloc>::state

Synopsis


Defined in header <locale>
state_type state() const;


Returns the current value of the conversion state, which is stored in this wstring_convert object. The conversion state may be explicitly set in the constructor and is updated by all conversion operations.

Return value


The current conversion state.

Example


 This section is incomplete
 Reason: no example

See also


           converts a wide string into a byte string
to_bytes (public member function)
           converts a byte string into a wide string
from_bytes (public member function)
           checks if the mbstate_t object represents initial shift state
mbsinit (function)