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

std::basic_filebuf::imbue

protected: virtual void imbue( const std::locale& loc )

?

?

更改关联的区域设置,以便在此调用%28之后插入或提取所有字符,直到再次调用imbue()%29使用std::codecvtloc...

如果旧的locale%27s编码与状态相关,并且文件不在开头,则新区域设置必须具有相同的位置。std::codecvt像以前灌输的那样。

参数

loc

-

the locale to imbue the stream with

返回值

%280%29

另见

imbue virtual

changes the associated locale (virtual protected member function of std::basic_streambuf)

imbue

sets the locale (public member function of std::basic_ios)

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

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

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com