[xsd-users] Howto avoid slicing with xsd-types to std::string

Boris Kolpackov boris at codesynthesis.com
Tue Oct 26 06:04:12 EDT 2021


Tempelaar E. (Erik) <Erik.Tempelaar at vanoord.com> writes:

> I figured this much, but I was hoping there was a library-call that
> explicitly returns the std::string that I had missed.

I've added[1] the base_string() function to xml_schema::{string,uri}
classes for the next release.

[1] https://git.codesynthesis.com/cgit/xsd/xsd/commit/?id=06e68339a849



More information about the xsd-users mailing list