[xsd-users] bug in containers.hxx:362

Boris Kolpackov boris at codesynthesis.com
Mon Apr 16 12:40:19 EDT 2007


Hi Ray,

Ray Lischner <rlischner at proteus-technologies.com> writes:

> There is a bug in libxsd/xsd/cxx/tree/containers.hxx, line 362. The
> operator== overload for optional<> recurses infinitely. To fix, change
> "a == b" to "!a == !b" (or the logical equivalent).

Fixed by changing "a == b" to "a.present () == b.present ()". Thanks
for reporting this!


-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070416/6dc06489/attachment.pgp


More information about the xsd-users mailing list