[aspectc-user] Aspect templating

Miguel Almeida mvieira at fe.ucp.pt
Mon May 2 20:14:57 CEST 2005


Hi.

 

I’d like to know if there’s a way to decide which classes will work with an
aspect non-explicitly


Like some kind of aspect templating:

 

Ex:

template <typename T>

aspect Xpto {

            pointcut test( ) = “% T::some_method( )”;

};

 

I would like to decide which classes are going to be affected by the aspect
but not explicitly in the aspect


Is there any way to do something like this?

 

Thank you

 

Miguel Almeida

 

Miguel Vieira de Campos Almeida

mvieira at fe.ucp.pt

Faculdade de Engenharia

Universidade Católica Portuguesa

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050502/cf620c31/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3024 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050502/cf620c31/attachment.bin>


More information about the aspectc-user mailing list