|
|
Subscribe / Log in / New account

The underlying std::string is freed?

The underlying std::string is freed?

Posted Jul 5, 2024 15:27 UTC (Fri) by daroc (editor, #160859)
In reply to: The underlying std::string is freed? by mathstuf
Parent article: New features in C++26

Ah — I replied to your email, but didn't notice that the article had a typo. Yes, the problem is not that the std::string is freed, but that the temporary std::string_view is freed; I've corrected the article.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds