referring to the beautiful solutions provided here, Convert string to int with bool/fail in C++,
I would like to cast a std::string to a 8 bit number (unsigned or signed)
The problem is that because 8 bit number is represented as a char so it is parsed wrong
(trying to parse anything above 1 digits - like 10 - fails)
Any ideas?