Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
field_view::as_datetime

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

Synopsis
constexpr datetime
as_datetime() const;
Exception safety

Strong guarantee. Throws on type mismatch.

Exceptions

Type

Thrown On

bad_field_access

If !this->is_datetime()


PrevUpHomeNext