[aspectc-user] return value from around advice

steven stevdev at web.de
Tue May 26 23:28:15 CEST 2009


hi,

I have a factory method and want weave a specific construction into it.
so, is it possible to return a value from an around advice like this:

advice call("Object* Factory::createObject()"): around(){
	return new DerivedObject();	
}

?


cheers,

steven



More information about the aspectc-user mailing list