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 a snapshot of the master branch, built from commit c6a8213e9b.
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 20, 2019 at 16:02:33 UTC


Prev Up HomeNext