Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Yes sorry, I should have been more precise.

Of course you need the function body to actually do comptime evaluation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: