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

True, however I would expect that anyone that knows constexpr is also aware of constinit, consteval and static constexpr.

Does it suck instead of having a single mechanism?

Yes, but the tools are there to actually enforce it at compile time.



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

Search: