[jira] [Commented] (PROTON-1263) c++ add proton::to_string for value and scalar types
[ https://issues.apache.org/jira/browse/PROTON-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15386251#comment-15386251 ] ASF subversion and git services commented on PROTON-1263: - Commit f62369d9219b45ecf12d2cf8a2a2424ce54cb75e in qpid-proton's branch refs/heads/master from [~aconway] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=f62369d ] PROTON-1263: c++ add proton::to_string for value and scalar types Provides ostream<< representation as a string, with std::boolalpha so boolean prints as true/false. Also added for proton::url, since conversion to/from string is common. Cleaned up value op<< to use the scalar op<< for scalar values. > c++ add proton::to_string for value and scalar types > > > Key: PROTON-1263 > URL: https://issues.apache.org/jira/browse/PROTON-1263 > Project: Qpid Proton > Issue Type: Improvement > Components: cpp-binding >Affects Versions: 0.12.2 >Reporter: Alan Conway >Assignee: Alan Conway >Priority: Minor > Fix For: 0.13.0 > > > Add proton::to_string overloads for proton::value, proton::scalar and > proton::url. These return a std::string with the same representation given by > ostream operator>>. > Similar to std::to_string() for the built-in integral types. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-1263) c++ add proton::to_string for value and scalar types
[ https://issues.apache.org/jira/browse/PROTON-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15386217#comment-15386217 ] ASF subversion and git services commented on PROTON-1263: - Commit 9528a77bbb08249d6f6edd0cae5c1745a9a200eb in qpid-proton's branch refs/heads/master from [~aconway] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=9528a77 ] PROTON-1263: c++ add proton::to_string for value and scalar types Also added for proton::url, since conversion to/from string is common. Cleaned up value op<< to use the scalar op<< for scalar values. > c++ add proton::to_string for value and scalar types > > > Key: PROTON-1263 > URL: https://issues.apache.org/jira/browse/PROTON-1263 > Project: Qpid Proton > Issue Type: Improvement > Components: cpp-binding >Affects Versions: 0.12.2 >Reporter: Alan Conway >Assignee: Alan Conway >Priority: Minor > Fix For: 0.13.0 > > > Add proton::to_string overloads for proton::value, proton::scalar and > proton::url. These return a std::string with the same representation given by > ostream operator>>. > Similar to std::to_string() for the built-in integral types. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org