#ifndef __HELLO_AH__ #define __HELLO_AH__ #include aspect Hello { advice call("void world()") : before() { //print "Hello" when calling the 'world()' function std::cout << "Hello" << std::endl; } }; #endif