Checking sets for equality
set<string> s1;
set<string> s2;
How to check the sets for equality correctly?
0
1 answers
if (s1 == s2)
{
// Равны
}
else
{
// Не равны
}
See http://en.cppreference.com/w/cpp/container/set/operator_cmp
5
Author: Harry, 2017-11-26 17:19:30