[aspectc-user] template parameters -- calling VS execution pointcuts

Mike Mortensen mmo at fc.hp.com
Tue Oct 4 21:11:25 CEST 2005


Olaf Spinczyk wrote:

> Hi Mike,
>
> I'm sorry for this late answer, but I had no internet access during 
> the last week.
>
> The problem is that ac++ only weaves call advice if the parser is able 
> to resolve the function call. However, without the --real-instances 
> option, calls to functions that depend on template instances are not 
> resolved. This is what happens in your case.
>
> You could try to compile your code with --real-instances (which is 
> "experimental"). Please, report if this parser mode works for you.
>
> Best regards,
>
> Olaf

Hi Olaf,
This does work for the testcase I created!

This will be a great help to me, since much of the framework-based code 
I'm looking at
uses strings, vectors, and maps in the argument list.
Thank you!!
-Mike



More information about the aspectc-user mailing list