/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
C++ proposal: There are exactly 8 bits in a byte
(www.open-std.org)
288 points
Twirrim
| 1 comments |
17 Oct 24 22:21 UTC
|
HN request time: 0.21s
|
source
Show context
Iwan-Zotow
◴[
17 Oct 24 23:30 UTC
]
No.
41874860
[source]
▶
>>41874394 (OP)
#
In a char, not in a byte. Byte != char
replies(3):
>>41874915
#
>>41874969
#
>>41878054
#
1.
gpderetta
◴[
18 Oct 24 10:34 UTC
]
No.
41878054
[source]
▶
>>41874860
#
In C and C++ a byte and a char are the same size by definition. Don't confuse a byte with an octet.
ID:
GO
↑