Debian Codegraph @

AspectC++/doc/CompilerManual/aspectc++ code transformation/examples/ah_set/hello_world.ah

raw
1 #ifndef __WORLD_AH__
2 #define __WORLD_AH__
3
4 #include <iostream>
5
6 aspect Example {
7 advice set("int %") : after() {
8 //print "Finished" after setting an int
9 std::cout << "Finished" << std::endl;
10 }
11 };
12
13 #endif