Namespaces
Variants
Actions

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

From cppreference.com
< cpp‎ | io‎ | basic streambuf
 
C++
 
Input/output library
 
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.

Contents

[edit] Parameters

(none)

[edit] Return value

The associated locale.

[edit] Example

[edit] See also

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant