Е
Size: a a a
Е
Е
M
ЗВ
AF
AF
Е
ЗВ
AF
Е
AF
ЗВ
AF
ЗВ
Е
set.insert(1,2,"name",999)
?ЗВ
AF
Е
ЗВ
#include <iostream>
#include <ctime>
#include <cstdlib>
#include <set>
using namespace std;
class TestC {
private:
int x;
int y;
public:
TestC(){
x=0;
y=0;
}
TestC(int xx, int yy=1){
x=xx;
y=yy;
}
};
int main(int argc, char** argv) {
set<TestC> b;
b.insert(3,3);
return 0;
}