Hello. Please see AspectC++ Bugzilla, bug #286 and also aspectc-user list 2006-02-01. This seems to be a known bug. I came over this by moving the templates outside of the aspect. You could try to do so also and see if it works as a workaround for you.