[aspectc-user] Reverse Inheritance(2)
Olaf Spinczyk
Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Oct 15 14:21:07 CEST 2002
Hi,
once again you have found a bug...
On Tuesday 15 October 2002 13:29, you wrote:
> Dear All!
>
> (When) Will AspectC++ support "Multiple Reverse Inheritance",
> as it can be achieved via several "declare parents : ..." in AspectJ?
> e.g.
> public:
> pointcut pc_Desc_CLASS() = classes("Desc");
> advice pc_Desc_CLASS() : baseclass(Base1);
> advice pc_Desc_CLASS() : baseclass(Base2);
This works, but only if the class Desc already has at least one base class.
As a workaround you can add an empty base class by hand and let AspectC++ do
the rest. I have added the problem to the todo list. It will be fixed as soon
as possible.
Thanks for your feedback,
Olaf
More information about the aspectc-user
mailing list