[Ext] Re: [xsd-users] Issues with operator==

Nicolas Weidmann n.weidmann at lombardodier.com
Tue Sep 8 05:18:06 EDT 2026


Hello Boris,

Following your advice, I now have:


namespace {
   const xsd::cxx::tree::comparison_plate<0, char> comparison_plate_init;
   const xsd::cxx::tree::comparison_initializer<0, char, XsdCommonLibrary::String> String_comparison_init;
   const xsd::cxx::tree::comparison_initializer<0, char, XsdCommonLibrary::AnyURI> AnyURI_comparison_init;

   const xsd::cxx::tree::type_factory_plate<0, char> type_factory_plate_init;
   const xsd::cxx::tree::type_factory_initializer<0, char, XsdCommonLibrary::String> String_factory_init(xsd::cxx::tree::bits::string<char>(), xsd::cxx::tree::bits::xml_schema<char>());
   const xsd::cxx::tree::type_factory_initializer<0, char, XsdCommonLibrary::AnyURI> AnyURI_factory_init(xsd::cxx::tree::bits::any_uri<char>(), xsd::cxx::tree::bits::xml_schema<char>());

   const xsd::cxx::tree::type_serializer_plate<0, char> type_serializer_plate_init;
   const xsd::cxx::tree::type_serializer_initializer<0, char, XsdCommonLibrary::String> String_serializer_init(xsd::cxx::tree::bits::string<char>(), xsd::cxx::tree::bits::xml_schema<char>());
   const xsd::cxx::tree::type_serializer_initializer<0, char, XsdCommonLibrary::AnyURI> AnyURI_serializer_init(xsd::cxx::tree::bits::any_uri<char>(), xsd::cxx::tree::bits::xml_schema<char>());
} // namespace


Regards,


Nicolas Weidmann
Banque Lombard Odier & Cie SA
Rue de la Corraterie 11 - 1204 Genève - Suisse
T +41 22 709 23 17
www.lombardodier.com
-----Original Message-----
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: vendredi, 4 septembre 2026 12:24
To: Nicolas Weidmann <n.weidmann at lombardodier.com>
Cc: xsd-users at codesynthesis.com
Subject: Re: [Ext] Re: [xsd-users] Issues with operator==

Nicolas Weidmann <n.weidmann at lombardodier.com> writes:

> Let me know if I have other objects to initialize for my custom types...

I did a search for "_initializer" in libxsd and besides comparison, there
were two more instances:

1. std_ostream_initializer

   You only need this if you compile your schemas with --generate-ostream
   (to be able to print object model to std::ostream).


2. stream_insertion/extraction_initialize

   You only need this if you compile your schemas with --generate-insertion
   and/or --generate-extraction (to be able to save object mode to other
   formats, such as XDR).
[[ rethink everything. ]]<https://www.lombardodier.com>

[[LinkedIn]]<https://www.linkedin.com/company/lombard-odier>  [[Twitter]] <https://twitter.com/lombardodier>   [[Facebook]] <https://facebook.com/lombardodier>   [[Instagram]] <https://www.instagram.com/lombardodier/>   [[YouTube]] <https://www.youtube.com/channel/UCqatbeqXskmWejbm0KPLV3w>

*** IMPORTANT NOTICE REGARDING INSTRUCTIONS by EMAIL ***
Please be aware that instructions received by e-mail should be
considered delayed and not executed unless they have been
specifically confirmed by your relationship manager/banker.
Email traffic during turbulent times in the financial markets is
high and cannot always be acted upon at all times.
Lombard Odier cannot be held liable for such delay in execution
or for the non-execution of an instruction given by email even
if it was given in due time. Therefore, instructions requiring
immediate action must be communicated by telephone by calling
the bank’s registered landline.
Thank you for your understanding.

*** IMPORTANT INFORMATION ABOUT DATA PROTECTION ***
You might be receiving this because you have provided us with
your contact details. If this is the case note that we may process
your personal data for direct marketing purposes.
If you wish to object to this processing, please notify the
Group’s Data Protection Officer<mailto:group-dataprotection at lombardodier.com>.
For more information: www.lombardodier.com/privacy-policy

DISCLAIMER **********************************************
This message is intended only for use by the person
to whom it is addressed. It may contain information
that is privileged and confidential. Its content does
not constitute a formal commitment by any company
of the Lombard Odier group. If you are not the intended
recipient of this message, kindly notify the sender
immediately and destroy this message. Thank You.
*******************************************************(dch)*




More information about the xsd-users mailing list