[aosd-discuss] Update of AOP C++ article

christopher diggins cdiggins at users.sourceforge.net
Mon Feb 9 18:07:33 EST 2004


I have updated the AOP C++ article at
http://www.heron-language.com/aspect-cpp.html in order to be non-MS centric.
The example is also now more demonstrative of the technique proposed.

As a quick summary : I introduce a cross-cutting macro which takes a target
class, a specially defined point-cut class and an aspect class. It uses this
to create a new class which wraps the target class with the aspect defined
behaviour. i.e. :

crosscut(BASE_CLASS, POINTCUT_CLASS, ASPECT_CLASS);

Any comments are appreciated as always.

Christopher Diggins




More information about the discuss mailing list