[aspectc-user] syntax question

Law, Colin colin.law at epid.eurotherm.co.uk
Tue Feb 12 17:48:03 CET 2002


Sorry to appear deficient in the brain cell department but I am still having
problems with 

pointcut ini() = that( "CWnd" ) && execution("int %::OnInitDialog ()");
advice ini() : void before( CWnd* pWnd ) {...}

I cannot simply use "before()" as I need pWnd inside the function {...}, how
do I bind the argument of before() to the argument of the pointcut?

I will need to think about the cyclic access relation a bit, my brain hurts!

Colin



More information about the aspectc-user mailing list