임시 객체 썸네일형 리스트형 임시 객체와 소멸 시기 1. 임시 객체 임시 객체는 수식의 계산 도중에 중간 결과를 저장하기 위하여 임시적으로 만들어지는 객체이다. 2. 임시 객체 생성 예 void main() { string s1 = "Hello "; string s2 = "World"; const char* p = (s1 + s2).c_str(); cout 더보기 이전 1 다음