http://blog.naver.com/yaiin0911?Redirect=Log&logNo=120022027021 #include <string> #include <iostream> #include <memory> using namespace std; void main() { auto_ptr<string> pStr(new string("AutoPtr Test")); cout << *pStr << endl; } 위의 코드에서 pStr은 string class를 직접 가리키지 않는다. 사실상 auto_ptr이라는 매개 class를 사용하..