Hi Ghislain,

The point of the non-const param is to call take() inside the constructor, thus 
saving a (synchronized) ref counting. I have now added this take() call in the 
StructuralAnyURIItem constructor.

You are right about the static casts. I thought that getAnyUriTypeCode() was a 
zorba::Item method. I have added a ZORBA_ASSERT() to make sure that the 
"aOther" param is indeed an atomic item.
Your team Zorba Coders is subscribed to branch lp:zorba.

Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to