public member function
<streambuf>
Get current locale
Returns the locale currently associated to the stream buffer.
If the member function
pubimbue has been called, the value returned is the one set by that function, otherwise the current global locale
locale() is returned.
A locale object contains culture-specific information on how to interpret certain input and output operations.
Parameters
none
Return Value
The locale object associated to the stream buffer before the call.
Basic template member declaration
( basic_streambuf<charT,traits> )
See also
- streambuf::pubimbue
- Imbue locale (public member function)