Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
field_view::as_int64

Retrieves the underlying value as an int64 or throws an exception.

Synopsis
constexpr std::int64_t
as_int64() const;
Exception safety

Strong guarantee. Throws on type mismatch.

Exceptions

Type

Thrown On

bad_field_access

If !this->is_int64()


PrevUpHomeNext