Namespaces
Variants
Actions

std::basic_streambuf<CharT,Traits>::getloc

From cppreference.com
< cpp‎ | io‎ | basic streambuf
 
 
 
std::basic_streambuf
 
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.

[edit] Parameters

(none)

[edit] Return value

The associated locale.

[edit] Example

This section is incomplete
Reason: no example

[edit] See also

changes the associated locale and invokes imbue()
(public member function) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_streambuf/getloc&oldid=64235"

AltStyle によって変換されたページ (->オリジナル) /