Debian Codegraph @

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

raw
1 #ifndef __WORLD_AH__
2 #define __WORLD_AH__
3
4 #include <iostream>
5
6 aspect Hello {
7 advice construction("World") : after() {
8 //print "Hello World" after constructing a World Object
9 std::cout << "Hello World" << std::endl;
10 }
11 };
12
13 #endif