std::basic_streambuf::getloc

std::basic_streambuf::getloc

std::locale getloc() const;

Returns the associated locale.

The associated locale is the value supplied to pubimbue() on the last call, or, if that function has not been called, the value of the global locale (std::locale) at the time of the construction of the streambuf.

Parameters

(none).

Return value

The associated locale.

Example

See also

invokes imbue()
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_streambuf/getloc

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部