GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::locale::global(3) C++ Standard Libary std::locale::global(3)

std::locale::global - std::locale::global


Defined in header <locale>
static locale global( const locale& loc );


Replaces the global C++ locale with loc, which means all future calls to the
std::locale default constructor will now return a copy of loc. If loc has a name,
also replaces the C locale as if by std::setlocale(LC_ALL, loc.name().c_str());.
This function is the only way to modify the global C++ locale, which is otherwise
equivalent to std::locale::classic() at program startup.


loc - the new global C++ locale


The previous value of the global C++ locale.


This section is incomplete
Reason: no example


constructor constructs a new locale
(public member function)
classic obtains a reference to the "C" locale
[static] (public static member function)
setlocale gets and sets the current C locale
(function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.