...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 blob or throws an exception.
constexpr blob_view as_blob() 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).