Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
string s { sv.data(), sv.size() }; // pre-C++17
auto i = atoi(s.c_str());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment