строка до size_t cpp
std::size_t stringToSize_t(std::string str)
{
std::stringstream sstream(str);
size_t result;
sstream >> result;
return result;
}
// result is the converted size_t
L'homme habile