4 ms·
I suppose he wanted to showcase boost::format. You can do it simpler with std::to_string: return to_string(static_cast<unsigned char>(s[0]));
by pbsd 14y ago
I suppose he wanted to showcase boost::format. You can do it simpler with std::to_string:
return to_string(static_cast<unsigned char>(s[0]));