thrust::operator==

Defined in thrust/optional.h

template<class T>
inline constexpr bool thrust::operator==(const optional<T> &lhs, nullopt_t) noexcept

\group relop_nullopt

Compares an optional to a nullopt

Equivalent to comparing the optional to an empty optional