Changeset 10422 for code/branches/core7/src/libraries/util
- Timestamp:
- May 3, 2015, 3:49:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/util/SharedPtr.h
r8351 r10422 138 138 OtherClass* other3 = new OtherClass(object); // " 139 139 140 } // The S martPtr "object" is destroyed at the end of the scope,140 } // The SharedPtr "object" is destroyed at the end of the scope, 141 141 // but the three instances of OtherClass keep the object alive 142 142 // until they are all destroyed.
Note: See TracChangeset
for help on using the changeset viewer.