Re: [Libxmlplusplus-general] Re: [gnomemm] ANNOUNCE: libxml++ is now sane.
- From: Christophe de Vienne <cdevienne netcourrier com>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [Libxmlplusplus-general] Re: [gnomemm] ANNOUNCE: libxml++ is now sane.
- Date: Wed, 20 Nov 2002 23:52:20 +0100
On Mercredi 20 Novembre 2002 22:57, Paul Davis wrote:
>
> const Node * add_child (const std::string &name)
> Node * add_child (Node *node)
>
> has caused dozens of stupid bugs in my code, because it doesn't make
> it clear whether the added child is copied or not (its not).
>
It's one thing I wanted to improve. For me, if not not standalone, a node
should have all it's life cycle managed by its owner : creation and deletion.
We'll try to do somethind about this soon, probably partly based on your patch
if your could post it again in the patch tracker.
Regards,
Christophe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]