Namespaces
Variants
Views
Actions

std::basic_streambuf::getloc

From cppreference.com
< cpp‎ | io‎ | basic streambuf
Revision as of 07:55, 15 August 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
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.

Contents

[edit] Parameters

(none)

[edit] Return value

The associated locale.

[edit] Example

[edit] See also

invokes imbue()
(public member function) [edit]