| 75 | } |
| 76 | |
| 77 | const NumericConverterRegistryItem* NumericConverterRegistry::Find( |
| 78 | const FormatterContext& context, |
| 79 | const NumericConverterType& type, const NumericFormatID& symbol) |
| 80 | { |
| 81 | const NumericConverterRegistryItem* result = nullptr; |
| 82 | |
| 83 | Visit( |
| 84 | context, |
| 85 | type, |
| 86 | [&result, symbol](const NumericConverterRegistryItem& item) |
| 87 | { |
| 88 | if (item.symbol.Internal() == symbol) |
| 89 | result = &item; |
| 90 | }); |
| 91 | |
| 92 | return result; |
| 93 | } |
| 94 | |
| 95 | NumericConverterRegistryGroup::~NumericConverterRegistryGroup() |
| 96 | { |
no test coverage detected