C/C++
aopcpp.txt
Associated article: Aspect-Oriented Programming & C++
Tags: .NET C/C++
Published source code accompanying the article by Christopher Diggins in which he examines how and why aspect- oriented programming isn't just about Java. Christopher presents AOP techniques for C++. Also see AOPCPP.ZIP.
Aspect-Oriented Programming & C++
by Christopher Diggins
Listing One
class FuBar {
Fu() {
// do fu
}
Bar() {
// do bar
}
}
Listing Two
class FuBar {
Fu() {
DumpState();
// do fu
DumpState();
}
Bar() {
DumpState();
// do bar
DumpState();
}
}
Listing Three
class FuBar {
Fu() {
DumpState();
// do fu
DumpState();
}
...


