Function lexical_util::digit::char_to_digit_const
source · [−]Expand description
Convert a character to a digit with a radix known at compile time.
This optimizes for cases where radix is <= 10, and uses a decent, match-based fallback algorithm.