Hi Scott,
Cantor, Scott <[email protected]> writes:
> If anybody who knows the DOM impl could weigh in on what the heck that
> code in DOMCasts.hpp/cpp was doing and why, I'd welcome the perspective.
Yeah, infamous Xerces-C++ brain-death ;-)
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;
}
There might still be some cases you you will have to cast the argument
to appropriate DOM*Impl type.
Boris
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]