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

bool operator!=(const success_type<A> &) const

Returns true if this result is not successful or its value does not compares equal to the value in the success type sugar. Comparison is done using operator!= on value_type and A. If A is void, this call aliases bool has_error() const noexcept .

Requires: operator!= must be a valid expression between value_type and A, or A is void. If value_type is void, then so must be A.

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

Guarantees: None.

Last revised: January 20, 2019 at 16:02:33 UTC


Prev Up HomeNext