[aspectc-user] reset tjp->that()?
    Michael Gong 
    mwgong at cs.utoronto.ca
       
    Fri Dec  8 14:45:03 CET 2006
    
    
  
If AspectC++ allows to change the value of a function parameter inside 
the advice code, local variable could be changed by advice.
----- Original Message ----- 
From: "Panu Bloigu" <panu.bloigu at mbnet.fi>
To: "Yan Mao" <maoyan at gmx.net>
Cc: <aspectc-user at aspectc.org>
Sent: Friday, December 08, 2006 5:25 AM
Subject: Re: Re: [aspectc-user] reset tjp->that()?
> Hi,
>
>> So u mean 'p' should be a class data member? But no, my 'p' is a 
>> local
>> variable. so I cant use tjp->that()->p to access it.
>
> I'm sorry, I do not know how to access local variables from advice 
> code. As
> far as I can tell, it can't be done.
>
> Panu.
>
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user
> 
    
    
More information about the aspectc-user
mailing list