Menu

#30 <data/> and return boolean result as integer

open
nobody
None
5
2011-10-27
2011-10-27
navigator
No

i have just add support to <data/> only, the others I will try to do it later.

Discussion

  • navigator

    navigator - 2011-10-27
     
  • navigator

    navigator - 2011-10-27

    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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.