class A { public: A(); // 기본 생성자 ~A(); // 소멸자
A(const A& other); // 복사 생성자 A& operator=(const A& other); // 복사 대입 연산자 A(A&& other); // 이동 생성자 A& operator=(A&& other); // 이동 대입 연산자
};