[aspectc-user] class as argument of a method

Leandro Costa leandro.costa at gmail.com
Wed Nov 19 12:43:32 CET 2008


Hi Guys!

I have the following method:

const int Class::stuff (Class *pClass);

and the following pointcut:

pointcut methods () = call ("% %::%(Class *)");

but these expressions don't match.

It seems I can match only methods with natural types as arguments (int,
char, float, ...).
When I use classes as arguments, AspectC++ doesn't match. Why?

-- 
_____________________________________________

                      Leandro Souza Costa

"A vitória se encastela em jardins encantadores,
 mas para se chegar a ela não há caminho de flores"
_____________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20081119/b69ca6cc/attachment.html>


More information about the aspectc-user mailing list