Hacker News new | ask | show | jobs
by rewmie 1020 days ago
> The constructor of std::string is constexpr in C++20.

If I recall correctly, from C++20 onward all member functions of std::string are constexpr.