首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::wstring_convert::state

Defined in header <locale>

state_type state() const;

返回转换状态的当前值,该值存储在wstring_convert对象。转换状态可以在构造函数中显式设置,并由所有转换操作更新。

返回值

当前转换状态。

另见

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 mbstate_t object represents initial shift state (function)

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券