[aspectc-user] How can I used the designator "that"

Wagner Salazar salazar.wagner at gmail.com
Fri Feb 9 14:05:47 CET 2007


Hi,

I would like to how if I can do this, but without that bounding ...

advice execution("% %::%(...)")() && that(agent) : before(MainProgram*
agent) {
      cout<<"\n Something ...";
}


Something like this:

advice execution("% %::%(...)")() && that(MainProgram) : before() {
     cout<<"\n Something ...";
}

I treid this and got this erro.

ag++ MainProgram.cc -c
aspecto.ah:32: error: 'MainProgram' is not in argument list
error: Execution failed: "ac++" --config "puma.config"  -p. -c "
MainProgram.cc" -o "MainProgram.acc"
make: *** [a] Error 1


How I can do this? thxs for any help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20070209/23a715bb/attachment.html>


More information about the aspectc-user mailing list