MCPcopy Create free account
hub / github.com/comaps/comaps / GetCurrentLocale

Function GetCurrentLocale

libs/platform/locale_std.cpp:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14Locale GetCurrentLocale()
15{
16 // Environment's default locale.
17 std::locale loc;
18
19 return StdLocale2Locale(loc);
20}
21
22bool GetLocale(std::string const localeName, Locale & result)
23{

Callers 4

ToStringPrecisionFunction · 0.70
InitSeparatorsMethod · 0.50
GetAcceptLanguageFunction · 0.50
MakeDistanceStrFunction · 0.50

Calls 1

StdLocale2LocaleFunction · 0.85

Tested by 1

MakeDistanceStrFunction · 0.40