std::basic_filebuf::imbue
protected: virtual void imbue( const std::locale& loc )  |   |   | 
|---|
更改关联的区域设置,以便在此调用%28之后插入或提取所有字符,直到再次调用imbue()%29使用std::codecvt面loc...
如果旧的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)  | 
 © cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

