See the example below:
#include <vector>
#include <string>
#include <string_view>
using namespace std;
void test() {
const std::string& a = std::vector<std::string>({""}).at(0); // good: give a warning
string_view b = std::string(); // good: gives a warning
string_view c = std::vector<std::string>({""}).at(0); // bad: no diagnostic emitted.
}