Debian Codegraph @

AspectC++/doc/CompilerManual/aspectc++ code transformation/examples/ah_execute/world.ah

raw
1 #ifndef __WORLD_AH__
2 #define __WORLD_AH__
3
4 #include <iostream>
5
6 aspect World {
7
8 advice execution("void hello()") : after() {
9 //print "World" after execution of the 'hello()' function
10 std::cout << "World" << std::endl;
11 }
12
13 };
14
15 #endif