| 45 | } |
| 46 | |
| 47 | NumericFormatSymbol Default(const NumericConverterType& type) |
| 48 | { |
| 49 | auto& defaultSymbols = GetDefaultSymbols(); |
| 50 | |
| 51 | auto it = defaultSymbols.find(type); |
| 52 | |
| 53 | if (it != defaultSymbols.end()) |
| 54 | return it->second; |
| 55 | |
| 56 | // Fail the debug build early |
| 57 | assert(false); |
| 58 | |
| 59 | return {}; |
| 60 | } |
| 61 | |
| 62 | NUMERIC_FORMATS_API NumericFormatSymbol Lookup( |
| 63 | const FormatterContext& context, |
no test coverage detected