>>>>> "J" == Justin Bonnar <jbonnar@berkeley.edu> writes:
J> The safe (and naive) approach is to copy anything going into or out of
J> the statement, but I'd rather not do that.
Well, what do you do is someone re-use a node after it was set in the
statement ?
You have
The object passed in becomes owned by the statement object and must not
^^^^^^^^
be used by the caller after this call.
^^^^^^^
and
This method returns a SHARED pointer to the object which must be copied by
^^^^^^^^^^^^^^
the caller if needed.
--
Guy Decoux