Luna::equal

template <typename _Iter1, typename _Iter2>
bool equal(_Iter1 first1, _Iter1 last1, _Iter2 first2)

Tests the equality of two ranges.

Parameters

  • in first1

    The iterator to the first element of the first range.

  • in last1

    The iterator to the one-past-last element of the first range.

  • in first2

    The iterator to the first element of the second range.

Return value

Returns true if two ranges are equal, returns false otherwise.