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. -- https://code.launchpad.net/~zorba-coders/zorba/structural-any-uri-lazy/+merge/104918 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : email@example.com Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp