Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2010, 12:48:55 AM (14 years ago)
Author:
landauf
Message:

some cleanup in SharedPtr and its relatives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/FunctorPtr.h

    r7197 r7201  
    4545            inline FunctorMemberPtr() : SharedChildPtr<FunctorMember<T>, FunctorPtr>() {}
    4646            inline FunctorMemberPtr(FunctorMember<T>* pointer) : SharedChildPtr<FunctorMember<T>, FunctorPtr>(pointer) {}
    47 //            inline FunctorMemberPtr(const FunctorMemberPtr& other) : SharedChildPtr<FunctorMember<T>, FunctorPtr>(other) {}
    48 //            template <class O>
    49 //            inline FunctorMemberPtr(const SharedPtr<O>& other) : SharedChildPtr<FunctorMember<T>, FunctorPtr>(other) {}
    50 //            template <class O>
    51 //            inline FunctorMemberPtr(const SharedChildPtr<O, FunctorMember<T> >& other) : SharedChildPtr<FunctorMember<T>, FunctorPtr>(other) {}
    5247            inline FunctorMemberPtr(const SharedPtr<FunctorMember<T> >& other) : SharedChildPtr<FunctorMember<T>, FunctorPtr>(other) {}
    53 
    54 /*
    55             inline const FunctorMemberPtr& operator=(const FunctorMemberPtr& other) { this->SharedChildPtr<FunctorMember<T>, FunctorPtr>::operator=(other); return *this; }
    56             template <class O>
    57             inline const FunctorMemberPtr& operator=(const SharedPtr<O>& other) { this->SharedChildPtr<FunctorMember<T>, FunctorPtr>::operator=(other); return *this; }
    58 */
    59         private:
    60 //            inline FunctorMemberPtr(FunctorMember<T>* pointer, int* counter) : SharedChildPtr<FunctorMember<T>, FunctorPtr>(pointer, counter) {}
    6148    };
    62 /*
    63     typedef SharedChildPtr<FunctorStatic, Functor> FunctorStaticPtr;
    64 
    65     template <class T>
    66     class FunctorMemberPtr : public SharedChildPtr<FunctorMember<T>, Functor>
    67     {
    68         public:
    69             inline FunctorMemberPtr() : SharedChildPtr<FunctorMember<T>, Functor>() {}
    70             inline FunctorMemberPtr(FunctorMember<T>* pointer) : SharedChildPtr<FunctorMember<T>, Functor>(pointer) {}
    71     };
    72 */
    7349}
    7450
Note: See TracChangeset for help on using the changeset viewer.