| 5 | namespace platform |
| 6 | { |
| 7 | Locale StdLocale2Locale(std::locale loc) |
| 8 | { |
| 9 | return {"", "", std::use_facet<std::moneypunct<char, true>>(loc).curr_symbol(), |
| 10 | std::string(1, std::use_facet<std::numpunct<char>>(loc).decimal_point()), |
| 11 | std::string(1, std::use_facet<std::numpunct<char>>(loc).thousands_sep())}; |
| 12 | } |
| 13 | |
| 14 | Locale GetCurrentLocale() |
| 15 | { |
no outgoing calls
no test coverage detected