std::from_chars for int is base defaulted as 10, you can skip it if nothing else is specified.
For floating point numbers, different arguments are used.
Using:
value.to_number<double>(std::chars_format::general); // from "123.456"
value.to_number<double>(std::chars_format::hex); // from hex
value.to_number(); // from "123"
value.to_number(16); // from hex
std::from_chars
for int is base defaulted as 10, you can skip it if nothing else is specified. For floating point numbers, different arguments are used. Using:https://github.com/hanickadot/compile-time-regular-expressions/blob/78ba3a3ddc6a977b0a46ad566876a6844eedb16a/single-header/ctre.hpp#L3636-L3638 Possible implementation
https://github.com/hanickadot/compile-time-regular-expressions/blob/78ba3a3ddc6a977b0a46ad566876a6844eedb16a/single-header/ctre.hpp#L3406-L3411 Possible implementation