catchorg / Clara

A simple to use, composable, command line parser for C++ 11 and beyond
Boost Software License 1.0
650 stars 67 forks source link

Parse prefixed hexadecimal/octal integers #63

Open mjerabek opened 6 years ago

mjerabek commented 6 years ago

Integer parsing should support prefixed hexa/octal/binary strings: 0x10 -> 16, 010 (and 0o10) -> 8, 0b10 -> 2