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

It works perfectly fine with consteval, https://godbolt.org/z/sjGcsh3KP

What is possible in constexpr contexts has been improving in each revision, the end goal is to support the whole language, eventually.

Naturally introducing everything at once would be too hard in a language with such a big ecosystem like C++.



Good to know thanks for the correction




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

Search: