...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Retrieves the underlying value as a string (unchecked access).
constexpr string_view get_string() const;
this->is_string()
== true
(if violated, results in undefined behavior).
No-throw guarantee.
The returned view has the same lifetime rules as *this
(it's valid as long as *this
is
valid).