Radovan Chytracek <[EMAIL PROTECTED]> writes:

> I do not know details of Perl binding for Xerces-C but I think the
> DOM document could be exposed via a handle in form of smart pointer
> which can call transparently the release() method in its destructor.
> Some sort of handle-body design pattern might do it well for this
> purpose, e.g. BOOST shared_ptr<T> for example.

Hi Radovan,

I'm really looking to understand the consequences of release() versus
delete() first. After that I can work on the implementation.

Is calling delete good enough? Or is it critical to call release()?

Cheers,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to