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

From cppreference.com
< cpp‎ | io‎ | 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

Parameters

(none)

Return value

The associated locale.

Example

See also

changes the associated locale and invokes imbue()
(public member function)