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

convert failure. boost::cnv::strtol exception #41

Closed
liujingliangPacs opened this issue Mar 19, 2019 · 3 comments
Closed

convert failure. boost::cnv::strtol exception #41

liujingliangPacs opened this issue Mar 19, 2019 · 3 comments

Comments

@liujingliangPacs
Copy link

boost::cnv::strtol cnv;
std::string str = "0";
auto intValue = boost::convert<uint32_t>(
str,
cnv
(boost::cnv::parameter::skipws = true)
(boost::cnv::parameter::base = boost::cnv::base::hex)
).value();
this sentence will trigger exception.

@yet-another-user
Copy link
Contributor

Thank you for reporting. I'll look into it ASAP.

@yet-another-user
Copy link
Contributor

I can't reproduce it with gcc 7.3.0. What do you use? Would you mind trying with char const* str = "0"; please? Thanks much.

@yet-another-user
Copy link
Contributor

I can't see any progress with the issue. So, I guess, it is not an issue anymore. Closing.

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

No branches or pull requests

2 participants