#ifndef __Base_ah__ #define __Base_ah__ typedef int SomeType; aspect Base { pointcut virtual target () = 0; advice target () : SomeType _something; }; #endif // __Base_ah__