[xsd-users] Help using xsd::cxx::tree::date_time
Boris Kolpackov
boris at codesynthesis.com
Wed Mar 12 09:30:58 EDT 2014
Hi Marcus,
Marcus Brubaker <marcus.a.brubaker at gmail.com> writes:
> I need to be able to construct one of these by parsing a std::wstring
> but seem to be unable to do so.
The easiest way would be to convert your std::wstring to std::string
(a valid date-time value cannot have any non-ANSI characters in it)
and then use std::istringstream to parse it into xml_schema::date_time.
Boris
More information about the xsd-users
mailing list