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 develop branch, built from commit ad6398bcfe.
Prev Up HomeNext

bool operator!=(const basic_outcome<A, B, C, D> &) const

Returns true if this outcome does not compare equal to the other outcome. Comparison is done using operator!= on value_type, error_type and/or exception_type if the currently chosen state is the same for both outcomes, otherwise true is returned.

Requires: operator!= must be a valid expression between value_type and A, and between error_type and B, and between exception_type and C. If value_type is void, then so must be A; similarly for error_type and B; similarly for exception_type and C.

Complexity: Whatever the underlying operator!= have. Constexpr and noexcept of underlying operations is propagated.

Guarantees: None.

Last revised: February 01, 2019 at 15:52:57 UTC


Prev Up HomeNext