Many functions (like checked_* and saturating_*) and traits (like LowerHex and Octal) are irrational for char, so I had to switch it by introducing additional $is_integral switch. Wondering if this (nested macro with more and more booleans) is the preferred way to do so.
I implemented a ranged
char
type.Many functions (like
checked_*
andsaturating_*
) and traits (likeLowerHex
andOctal
) are irrational forchar
, so I had to switch it by introducing additional$is_integral
switch. Wondering if this (nested macro with more and more booleans) is the preferred way to do so.