How does one determine what the differences of 2 vectors are?
I have vector
and vector
;
What I am looking
Do you want elements from both v1
and v2
that are unique and not in the other sequence? That sounds like std::set_symmetric_difference to me.
Copies the elements of the range [first1,last1) that are not present in the range [first2, last2), and the elements of the range [first2,last2) that are not present in the range [first1, last1) to the range beginning at result. The elements in the constructed range are sorted.