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

From cppreference.com
< cpp‎ | io‎ | basic streambuf
 
 
Input/output library
I/O manipulators
C-style I/O
Buffers
(deprecated in C++98)
Streams
Abstractions
File I/O
String I/O
Array I/O
(deprecated in C++98)
(deprecated in C++98)
(deprecated in C++98)
Synchronized Output
Types
Error category interface
(C++11)
 
 
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)