This reference states that the second example produces a dangling pointer. How is a dangling pointer created in the second expression but not in the first?
std::string_view good("a string literal"); // OK: "good" points to a static array
std::string_view bad("a temporary string"s); // "bad" holds a dangling pointer
Also, what is the character s after the string?