##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::wbuffer_convert::state

From cppreference.com
< cpp‎ | locale‎ | wbuffer convert

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.

### [edit] Return value

The current conversion state.

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

state | returns the current conversion state (public member function of `std::wstring_convert`) [edit]
mbsinit | checks if the mbstate_t object represents initial shift state (function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/locale/wbuffer_convert/state&oldid=58236"
Category:

- Todo no example