[ 
https://issues.apache.org/jira/browse/PROTON-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

Reply via email to