logoalt Hacker News

j1eloyesterday at 2:01 PM1 replyview on HN

C++ could try to approach the "stability without stagnation" model.

Add an opt-in compiler flag --edition='26' which, when used, applies the breaking changes defined for C++26. Then users like Google or others who have been (ab)using some features for their side effects can decide to stay on the older versions.


Replies

pjmlpyesterday at 2:37 PM

It already exists, --std=c++26.