전공/C++

[프로그래밍 언어/C++] 생성자 초기화

caneo 2021. 10. 5. 20:30
728x90
반응형

생성자로 객체를 초기화할 때 다음과 같은 방식도 사용할 수 있다.

obj = constructor(parameter);

728x90
반응형