stoul

Could anyone explain why there are new functions in c++11 to convert std::string to various types, but there doesn't seem to be one for unsigned int (only unsigned long)?
Hi. I think you have read this article already.
There isn't for short also.
http://stackoverflow.com/questions/7895583/no-stoshort-unsigned-short-functions-in-c11

I don't have reasonable explanation,
but maybe it's because the standards committee member doesn't touch primitives in their work.
In library, template and typedef are more seen.

It's my imagination, but if it were in 1970s, it could.

Thank you for notifying such a unsymmetric point of the library.
Topic archived. No new replies allowed.