Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2008, 5:37:56 PM (16 years ago)
Author:
landauf
Message:

simplified the declaration of a new super-function by replacing 2 intrusive macros with some templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/core/Identifier.h

    r1685 r1687  
    319319            ClassIdentifier()
    320320            {
    321                 #define SUPER_INTRUSIVE_CONSTRUCTOR_INCLUDE
    322                 #include "Super.h"
     321                SuperFunctionInitialization<0, T>::initialize(this);
    323322            }
    324323            ~ClassIdentifier()
    325324            {
    326                 #define SUPER_INTRUSIVE_DESTRUCTOR_INCLUDE
    327                 #include "Super.h"
     325                SuperFunctionDestruction<0, T>::destroy(this);
    328326            }
    329327
Note: See TracChangeset for help on using the changeset viewer.