Safely passing strings and string_views -- Niek J Bouman
Passing a string temporary into a string_view can make the latter dangling
Safely passing std::strings and std::string_view
by Niek J Bouman
From the article:
Many of you will agree that C++ is a language that comes with sharp edges. One example is `std::string_view`; introduced as a type to prevent unnecessary std::string-copies, but it introduces a new footgun, namely when passing a temporary string into it:

Compile time code can be very efficient. Andrew Drakeford demonstrates how to write efficient chains of matrix multiplication.
In today's post, I like to talk about C++26 and one of the probably most impactful features that have been added to the working draft. While C++26 is still some months away from official completion, since the WG21 summer meeting in June we all now know what will be in C++26.