![]() |
Home | Libraries | People | FAQ | More |
Retrieves the underlying value as a string or throws an exception.
constexpr string_view
as_string() const;
Strong guarantee. Throws on type mismatch.
Type |
Thrown On |
---|---|
|
If |
The returned view has the same lifetime rules as *this
(it's valid as long as *this
is
valid).