Scroll to navigation

std::wstring_convert::state(3) C++ Standard Libary std::wstring_convert::state(3)

NAME

std::wstring_convert::state - std::wstring_convert::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


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

Category:


* Todo no example

2024.06.10 http://cppreference.com