Return true if lhs and rhs are not equal.
Synopsis
Declared in <bslstl_variant.h>
template<
class t_HEAD,
class... t_TAIL>
bool
operator!=(
variant<t_HEAD, t_TAIL...> const& lhs,
variant<t_HEAD, t_TAIL...> const& rhs);
Description
Return true if the specified lhs and rhs have different active alternatives or only one holds an alternative, or if they have the same active alternative and the contained values compare unequal; otherwise, return false. All alternatives shall support operator!=.
Return Value
true if lhs and rhs are not equal
Parameters
Name |
Description |
lhs |
variant to compare |
rhs |
variant to compare |
Created with MrDocs