[xsd-users] template<typename C> type_(const C*) constructor
creates unexpected empty copies of any pointer
Oliver Schneider
xsd-users at oli-obk.de
Fri Aug 15 05:50:29 EDT 2014
Hi Boris,
i have a function taking a "const ::xml_schema::type&" argument. If i
pass (by accident) any pointer to this function, it will (with MSVC)
happily accept it and create an empty type object.
I suggest adding an "explicit" before the templated type_ constructor.
greetings
/oliver
More information about the xsd-users
mailing list