Y
Hacker News
new
|
ask
|
show
|
jobs
by
loeg
241 days ago
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.