mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-05 22:53:52 +00:00
This PR add support for all TOML integer types. This includes ``` {"+99", 99}, { "99",99 }, { "0xDEADBEEF",0xDEADBEEF }, { "0xdeadbeef",0xDEADBEEF }, { "0xdead_beef",0xDEADBEEF }, { "0xdead'beef",0xDEADBEEF }, { "0o01234567",001234567 }, { "0o755",0755 }, { "0755",0755 }, { "995862_262",995862262 }, { "995862262",995862262 }, { "+995862275",+995862275 }, { "995'862'275",995862275 }, {"0b11010110",0xD6}, {"0b1101'0110",0xD6}, {"1_2_3_4_5",12345}, ``` So support for separators (Toml and C++ standards), binary(new), hex(worked previously), and octal(new) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>