Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2015, 3:49:13 PM (9 years ago)
Author:
landauf
Message:

details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/util/SharedPtr.h

    r8351 r10422  
    138138        OtherClass* other3 = new OtherClass(object);        // "
    139139
    140     }                                                       // The SmartPtr "object" is destroyed at the end of the scope,
     140    }                                                       // The SharedPtr "object" is destroyed at the end of the scope,
    141141                                                            // but the three instances of OtherClass keep the object alive
    142142                                                            // until they are all destroyed.
Note: See TracChangeset for help on using the changeset viewer.