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

> If they were to design that today, I think they would require the initialization expression to be constexpr.

Why would they?

This (non-constexpr) semantic would be useful as lazy initialization. .. and C++ love tiny little features like these.



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

Search: