CppCon ISO C++ Standards Committee Panel Discussion - CppCon 2025
https://youtu.be/R2ulYtpV_rs?si=JyDkmOKotvkODJa6Quite interesting the opening remark from Bjarne Stroustoup on where he sees the current state of how all features are landing into the standard.
68
Upvotes
View all comments
Show parent comment
6
u/GabrielDosReis Mar 02 '26
> The exact same complaints could have been issued against
constexprin C++11, which was nigh unusable due to restrictions and was actually broken (the implicitconston member-functions) and had to be fixed in C++14.Michael - you're getting your facts twisted.
The restricted form of `constexpr` as it was in C++11 was roughly the only form that could pass (barely) WG21 in July 2007 because of strong opposition from implementers -- not the proponents! The expanded form (that came later in C++14) was strongly opposed by implementers. Still, the evaluation by substitution semantics (that implementers would barely stomach) was useful, directly applied in the standard library (unlike C++26 contracts) - in fact both core language features an application to the standard library were voted at the same meeting.
I worked with Richard Smith to losen the restrictions (in particular, at the Bristol meeting in 2013) even if you would not find my name as co-author of that paper.
Also, see the [SAC 2010 paper](https://www.stroustrup.com/sac10-constexpr.pdf) we wrote on the topic.
You needed to be there to understand. At the next meeting, let's grab drinks and I will show tell you more than I can write here.