Compare two sequences for equality.
template <typename Seq1, typename Seq2> bool operator==(Seq1 const& a, Seq2 const& b);
a == b
Return type: bool
For each element, e1, in sequence a, and for each element, e2, in sequence b, a == b is a valid expression returning a type that is convertible to bool.
An attempt to compare two Sequences of different lengths results in a compile time error.
For each element, e1, in sequence a, and for each element, e2, in sequence b, e1 == e2 returns true. For any 2 zero length _sequence_s, e and f, e == f returns true.
#include <boost/fusion/sequence/comparison/equal_to.hpp> #include <boost/fusion/include/equal_to.hpp>