Question: 12. Define a function equal which takes two forward iterator pairs as arguments defining ranges and which return:s true if all elements are equal and

12. Define a function equal which takes two forward iterator pairs as arguments defining ranges and which return:s true if all elements are equal and the ranges are the same length. You may not use size () on the iterators or subtract them. Use operator- to compare elements. [3V] template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
