return the locale-dependent decimal point
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected