| 6043 | integral numeric parsers like `int_` and `uint_`. */ |
| 6044 | template<int Digits> |
| 6045 | constexpr auto digits() const noexcept |
| 6046 | { |
| 6047 | if constexpr (detail::has_digits1_member_function_template_v< |
| 6048 | parser_type>) { |
| 6049 | return parser::parser_interface{ |
| 6050 | parser_.template digits<Digits>()}; |
| 6051 | } else { |
| 6052 | static_assert( |
| 6053 | detail::has_digits1_member_function_template_v<parser_type>, |
| 6054 | "Only certain parsers have a .base<>() member function. " |
| 6055 | "This is not one of them."); |
| 6056 | } |
| 6057 | } |
| 6058 | |
| 6059 | /** Returns a new `parser_interface` constructed from |
| 6060 | `parser_.digits<MinDigits2, MaxDigits2>()`. Note that this only |
nothing calls this directly
no outgoing calls
no test coverage detected