Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
field_view::as_time

Retrieves the underlying value as a time or throws an exception.

Synopsis
constexpr time
as_time() const;
Exception safety

Strong guarantee. Throws on type mismatch.

Exceptions

Type

Thrown On

bad_field_access

If !this->is_time()


PrevUpHomeNext