> Try to replace this (and if it works other similar) function with:
>
> template <typename T>
> static inline DOMNodeImpl*
> castToNodeImpl(const T* p)
> {
> return &p->fNode;
> }
Yeah, I was considering but wasn't sure if we wanted to add templates in, are
we using them anywhere else in the code base? Anyway, that seems like a
reasonable suggestion certainly, and is one reason I was preferring to do this
on trunk.
> There might still be some cases you you will have to cast the argument
> to appropriate DOM*Impl type.
I think so, yeah, there are quite a few of these casting helpers.
Thanks,
-- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]