Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
loeg
4 months ago
|
parent
|
context
|
favorite
| on:
C++26: range support for std:optional
I wish C++'s optional was less of a compromise. It would be great if it had specialization for sentinel values, like Rust. As-is it can be pretty wasteful in data structures.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: