MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / get_decimal_point

Method get_decimal_point

include/jwt/json/json.hpp:6013–6019  ·  view source on GitHub ↗

return the locale-dependent decimal point

Source from the content-addressed store, hash-verified

6011
6012 /// return the locale-dependent decimal point
6013 JSON_HEDLEY_PURE
6014 static char get_decimal_point() noexcept
6015 {
6016 const auto* loc = localeconv();
6017 JSON_ASSERT(loc != nullptr);
6018 return (loc->decimal_point == nullptr) ? '.' : *(loc->decimal_point);
6019 }
6020
6021 /////////////////////
6022 // scan functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected