[aspectc-user] real newbie question

David Minor dahvid.minor at gmail.com
Sun May 3 16:11:17 CEST 2009


I'm evaluating aspectC++ for a project.  How would I insert a #include
"something.h" statement in response to a join point match in a particular
file?
What I want to do is add a base class to another class based on a pattern
match, but if any match occurs in a source file I also need to add an
include.
How to do the matching and insertion of the base class seem clear but not
the include because there doesn't seem to be any notion of file scope.
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20090503/cbfd4ae0/attachment.html>


More information about the aspectc-user mailing list