CPP 클래스

박호준·2021년 9월 3일
0

class A
{
public:
A(); // 기본 생성자
~A(); // 소멸자

A(const A& other);            // 복사 생성자
A& operator=(const A& other); // 복사 대입 연산자

A(A&& other);                 // 이동 생성자
A& operator=(A&& other);      // 이동 대입 연산자

};

profile
hopark

0개의 댓글