std::uint8_t ( , . ) unsigned char, operator>> , . - '1' x, ASCII 49. , ASCII '1' , , ; "1e" "10" "1xyz" x == 49.
, , 8 :
std::stringstream ss;
uint8_t x;
unsigned tmp;
ss << "1f";
ss >> std::hex >> tmp;
x = tmp;
( )
, uint8_t (!) , , 8 , . ++ C [cstdint.syn]/2, C99 7.18.1.1:
1 typedef intN_t N, . , int8_t 8 .
2 typedef uintN_t N. , uint24_t 24 .
3 . , 8, 16, 32 64 , typedef.
- . - , 8 , , PDP ( , UNIVACs 1). , , C , , , , , C , C.
8- , unsigned char, , 8 , 8 , , 2 uintN_t , . , . , , , .
, : uint8_t, ++, . , uint8_t , unsigned char, .
, , . ++, , uint8_t unsigned char. 3
1 , , C Setun ( ).
2 , .
3 , , , . , , , .