Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
gpderetta
3y ago
0 comments
Save
Share
Sorry. It is -fimplicit-constexpr, new in gcc12:
https://gcc.gnu.org/gcc-12/changes.html
0 comments
2 comments · 1 top-level
top
newest
oldest
cbsmith
3y ago
· 1 in thread
So that doesn't implicitly mark all functions as constexpr. It implicitly marks
inline
functions as constexpr. It weakens your point a tad, but I see now what you are getting at.
gpderetta
OP
3y ago
Yes sorry, I should have been more precise.
Of course you need the function body to actually do comptime evaluation.
j
/
k
navigate · click thread line to collapse