Re:Proposal to add constexpr to C [pdf]
by dataflow on Saturday October 16, 2021 @10:58AM
(#28888296)
No, not all const is superfluous. You don't want const-able method to be const. And const is a property of the declaration, not the definition. But constexpr is superfluous. It's something the compiler can infer purely from looking at the definition, and it has little to no "design" value like const does.
[ Parent
| on HN ]