Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1348

Comment by HolyBlackCat on C++20 constinit and std::string

$
0
0
Common std::string implementations don't allocate dynamically if the string is short enough ("SSO"). Since the shortness threshold depends on the implementation, you probably shouldn't rely on it.

Viewing all articles
Browse latest Browse all 1348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>