Found out C++11 has the following two gems:
Found out C++11 has the following two gems: std::stoi, std::stol, std::stoll , std::stof, std::stod, std::stold, std::stof, std::stod, std::stold – Coverts a C++ string to numeric type. Similar to the good old atoi, atod, atof but...