class A {
public:
function<void(A&)> temp;
void something() {
temp = &A::hmm;
temp(*this);
}
void hmm() {
cout << "asd";
}
};
선언할땐 A& 해놓고 할당할때는 &A 이지랄....
class A {
public:
function<void(A&)> temp;
void something() {
temp = &A::hmm;
temp(*this);
}
void hmm() {
cout << "asd";
}
};
선언할땐 A& 해놓고 할당할때는 &A 이지랄....
씨쁠이야? - dc App
ㅇㅇ...
기억 안나서 물어밧음 - dc App