id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8620,Boost.Variant has no inequality operator,gast128@…,Antony Polukhin,"The Boost.Variant does not support inequality, e.g. typedef boost::variant Variant; Variant var1; Variant var2; if (!(var1 == var2)) { } It would ofc be nicer if if (var1 != var2) { } Boost.operators already solve this problem (by deriving from equality_comparable or even better totally_ordered); not sure if this would help. The downside is that Boost.Variant is already a compile time cpu hog; with Boost.Operators it may be even worse. ",Feature Requests,closed,Boost 1.58.0,variant,Boost 1.52.0,Cosmetic,fixed,,