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

> I find that there's no use case for a constexpr std::string. Maybe I'm just not imaginative enough.

Putting together strings through string interpolation involving somewhat expensive operations is a common usecase. Given the choice, it's preferable to not have to compute them each and every single time a function is invoked.



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

Search: