--- [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] wrote:
>
> Going this way is not completely clean either, though. The Impl
> classes (interfaces) now need to be relatively public,
> at least to anyone doing a subclass, and the subclass implementers
> really do need to understand the details of how the smart
> pointers and reference counting work. Bugs in this are
> can indeed be painful to track down.
>
> I do think that it's a reasonable thing to consider.
>
> -- Andy
>
>
Why do the subclass implementers need to know the details
of how the smart pointers and reference counting work? It it
because they hold Impl * instead of DOM_* objects, for example, NodeImpl
contains a DocumentImpl *? Could that dependency be removed
if that DocumentImpl * were replaced with a DOM_Document?
Thanks,
-joe