[aspectc-user] function with template

meriam.kallel at mecscompany.com meriam.kallel at mecscompany.com
Tue Feb 26 12:59:42 CET 2008


Hello,

I want to use aspectc with programs coded in SystemC.
I succed in compiling, but I want that the aspect detects the execution of a
function that is defined with a template:

template <class d, class a>
void test()
{
   ...

}

In the aspect, i have tried:
aspect Action {
  advice execution("void test()") : around()  {
    ...
  }

and
  advice execution("void test%()") : around()  {
    ...
  }

and in the two cases, the function is not detected.

can you help me please.
Thank you.

Regards,
Meriam.




More information about the aspectc-user mailing list