equal « STL Algorithms Non modifying sequence operations « C++






1.equal algorithm: a deque and the first 2 elements of a list are not equal in all corresponding positions
2.equal algorithm: a list and the first 3 elements of a vector are equal in all corresponding positions
3.Use std::equal to compare vectors v1 and v2 for equality