Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kreco
3 months ago
|
parent
|
context
|
favorite
| on:
C++ proposal: There are exactly 8 bits in a byte
Now you can also enjoy the fact that you can't even compile:
std::cout << (std::byte)32 << std::endl;
because there is no default operator<< defined.
PaulDavisThe1st
3 months ago
[–]
Very enjoyable. It will a constant reminder that I need to decide how I want std::byte to print - character or integer ...
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: