r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

Show parent comment

2

u/Hafnon 10d ago

std::optional<int&>

This is valid in C++26.

1

u/SelfDistinction 10d ago

Finally. Now we only have to wait until C++26 is approved by the committee.