W3cubDocs

/C++

std::wbuffer_convert::state

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

Returns the current value of the conversion state, which is stored in this wbuffer_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

See also

returns the current conversion state
(public member function of std::wstring_convert)
checks if the mbstate_t object represents initial shift state
(function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/locale/wbuffer_convert/state