[aspectc-user] matching string argument type

Pablo Casado pabloc at thales.co.za
Thu Mar 31 09:11:26 CEST 2005


Hi,

I'm trying to match a string argument as follows

aspect TestTrace3 : public Trace {
  public:
    pointcut methods() = call ("% Base::%(std::string)");
};

but ac does not match with the following

class Derived : public Test
 {
    void abar(std::string) {
        printf("Derived::abar()\n");
    }
 };

I also tried the the following patterns
"% Base::%(string)"
"% Base::%(...)"

regards
Pablo.





More information about the aspectc-user mailing list