Re:Const vs. constexpr vs. consteval vs. constinit in C++20
by tialaramex on Tuesday November 29, 2022 @06:52AM
(#33786402)
Notice that what you're asking for is to abolish const local variables. Which also isn't what Herb offers, this was the status quo in C during the K&R era because "const" didn't exist in K&R C. If you actually want const local variables, just not by default, you're not actually agreeing with Niko.
[ Parent
| on HN ]
Re:Const vs. constexpr vs. consteval vs. constinit in C++20
by ameliaquining on Wednesday November 30, 2022 @07:31PM
(#33810432)
Yes, this is correct.