Phil dawes wrote:
>
> Hi Andrew,
>
> What was the rationale for ServantMethods not inheriting from
> ServantBase?
I hadn't thought of virtual inheritance, sorry.
>
> The problem with the above is that the _this() method needs to be on a
> ServantBase object or it can't activate itself with the default poa.
that explains why the boolean thing refused to work. I noticed this was
so, but lacked time to look into it.
> I've fixed this by making ServantMethods inherit virtually from
> ServantBase again, so that code which uses _this() works, but I don't
> know how these affects your inheritance scheme...
this is probably the RIGHT THING (tm).
> Cheers,
>
> Phil.
|