struct comp
{
bool operator() (unsigned int x, unsigned int y) {
return (x % 10) < (y % 10);
}
}
set < unsigned int, comp > mySet = {9, 12};
for ( int x : mySet) cout << x << ' ';
what is max size of my set 10
struct comp
{
bool operator() (unsigned int x, unsigned int y) {
return (x % 10) < (y % 10);
}
}
set < unsigned int, comp > mySet = {9, 12};
for ( int x : mySet) cout << x << ' ';
what is max size of my set 10