#ifndef __EXAMPLE_AH__ #define __EXAMPLE_AH__ #include aspect Example { advice execution("void give_int(%)") : before() { //print first parameter of give_int() std::cout << *tjp->arg<0>() << std::endl; } }; #endif