mrdocs::operator!=

Compares two Optional values for inequality. Returns true if their engagement states differ or their contained values are not equal.

Synopsis

Declared in <mrdocs/ADT/Optional.hpp>

template<
    typename T,
    typename U>
constexpr
/* implementation-defined */
operator!=(
    Optional<T> const& lhs,
    Optional<U> const& rhs);

Return Value

true if the optionals differ in engagement or value; otherwise, false.

Parameters

Name Description

lhs

The left operand

rhs

The right operand

Created with MrDocs