std::basic_filebuf::imbue
来自cppreference.com
< cpp | io | basic filebuf
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| protected: virtual void imbue( const std::locale& loc ) |
||
更改相关的语言环境,使所有字符插入或提取后,这个调用(,直到另一个呼叫被转换到
imbue())的std::codecvt方面的loc.原文:
Changes the associated locale so that all characters inserted or extracted after this call (and until another call to
imbue()) are converted using the std::codecvt facet of loc.如果旧的语言环境的编码状态而定,文件的起始位置,然后新的语言环境必须具有相同的std::codecvt方面,一个充满.
原文:
If the old locale's encoding is state-dependent and file is not positioned at the beginning, then the new locale must have the same std::codecvt facet as the one previously imbued.
目录 |
[编辑] 参数
| loc | - | 灌输流的语言环境
|
[编辑] 返回值
(无)
[编辑] 示例
| 本章尚未完成 原因:暂无示例 |
[编辑] 另请参阅
| [虚]</div></div>
|
改变相关的语言环境 (虚拟保护成员函数of std::basic_streambuf)
|
| 设置语言环境 (公共成员函数of std::basic_ios)
| |