[aspectc-user] is args() redundant?

EXTERN Sacher Dominik (Diplomand; FV/SLD) Dominik.Sacher at de.bosch.com
Thu Nov 14 12:52:56 CET 2002


Dear all!

I don´t get the point of the "args()" - PCD.

This is the status quo:
pointcut irq_Level( int level ) = call ("void IRQ::level(int)") && args(
level ); 
advice irq_Level( level ) : after( int level ) { ... }

But won´t this be sufficient:
pointcut irq_Level( int level ) = call ("void IRQ::level(int)"); 
advice irq_Level( level ) : after( int level ) { ... }


Regards,
Dominik





More information about the aspectc-user mailing list