Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing hex and octal numbers #10

Closed
azaparov opened this issue Nov 28, 2017 · 1 comment
Closed

Parsing hex and octal numbers #10

azaparov opened this issue Nov 28, 2017 · 1 comment

Comments

@azaparov
Copy link

Suggest (optional ?) modification of number parsers to the following (so it can also parse hex and octal numbers)

return std::stoi(elements[0]);
to
return std::stoi(elements[0], 0, 0);

@FlorianRappl
Copy link
Owner

Sounds great. Can you file a PR? Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants