i have just add support to <data/> only, the others I will try to do it later.
for boolean part
--- XmlRpcValue_org.h 2003-03-06 10:23:34.000000000 +0800 +++ XmlRpcValue.h 2011-10-27 09:31:42.000000000 +0800 @@ -77,6 +77,7 @@
// Operators XmlRpcValue& operator=(XmlRpcValue const& rhs); + XmlRpcValue& operator=(bool const& rhs) { return operator=(XmlRpcValue(rhs)); } XmlRpcValue& operator=(int const& rhs) { return operator=(XmlRpcValue(rhs)); } XmlRpcValue& operator=(double const& rhs) { return operator=(XmlRpcValue(rhs)); } XmlRpcValue& operator=(const char* rhs) { return operator=(XmlRpcValue(std::string(rhs))); }
Log in to post a comment.
for boolean part
--- XmlRpcValue_org.h 2003-03-06 10:23:34.000000000 +0800
+++ XmlRpcValue.h 2011-10-27 09:31:42.000000000 +0800
@@ -77,6 +77,7 @@
// Operators
XmlRpcValue& operator=(XmlRpcValue const& rhs);
+ XmlRpcValue& operator=(bool const& rhs) { return operator=(XmlRpcValue(rhs)); }
XmlRpcValue& operator=(int const& rhs) { return operator=(XmlRpcValue(rhs)); }
XmlRpcValue& operator=(double const& rhs) { return operator=(XmlRpcValue(rhs)); }
XmlRpcValue& operator=(const char* rhs) { return operator=(XmlRpcValue(std::string(rhs))); }