Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
Locale GetCurrentLocale()
15
{
16
// Environment's default locale.
17
std::locale loc;
18
19
return StdLocale2Locale(loc);
20
}
21
22
bool GetLocale(std::string const localeName, Locale & result)
23
{
Callers
4
ToStringPrecision
Function · 0.70
InitSeparators
Method · 0.50
GetAcceptLanguage
Function · 0.50
MakeDistanceStr
Function · 0.50
Calls
1
StdLocale2Locale
Function · 0.85
Tested by
1
MakeDistanceStr
Function · 0.40