shared_ptr1 [C++] std::shared_ptr reference 출처: https://en.cppreference.com/w/cpp/memory/shared_ptr 오역이 있을 수 있으니 잘못된 부분이 있다면 꼭 알려주세요! 원어 std::shared_ptr is a smart pointer that retains shared ownership of an object through a pointer. Several shared_ptr objects may own the same object. The object is destroyed and its memory deallocated when either of the following happens: the last remaining shared_ptr owning the object is destroyed; the l.. 2020. 3. 21. 이전 1 다음