Prev Up HomeNext

explicit operator bool() const noexcept

Returns true if a value is present. Constexpr where possible. Alias for bool has_value() const noexcept.

Requires: Always available.

Complexity: Constant time.

Guarantees: Never throws an exception.

Last revised: January 31, 2019 at 01:07:35 UTC


Prev Up HomeNext