|
inlineconstexpr |
#include <eve/module/algo/algo/equal.hpp>
Tests wether two ranges are equal (accepts anything that zips together as a range of 2 things) By default aligns and unrolls 4 times.
Alternative Header
[common_type]
trait on your zip
.zip
interfaces, have a look at examples/algorithms/using_existing/memcmp_...
or examples/algorithms/using_existing/case_insensitive...
.Parameters
rng
: zipped pair of 2 ranges to compare,
r2- two separate components that
zipto a
zipped_range_pair ! *
p` - binary predicate for equivelence testing. **Return value** bool wether any values matched the predicate <h2 class="groupheader"> Example </h2> @include doc/algo/equal.cpp