<div dir="ltr">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?<br>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.<br>
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.<br>Thanks,<br>David<br></div>