[ 
https://issues.apache.org/jira/browse/PROTON-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198149#comment-15198149
 ] 

ASF subversion and git services commented on PROTON-1138:
---------------------------------------------------------

Commit d70dab5df243f3a595be21a436f1ef46fa8d8c6d in qpid-proton's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=d70dab5 ]

PROTON-1138: c++: get<>/coerce<> API and documentation.

Consistent get/coerce templates for proton::value, scalar, message_id and 
annotation_key.

get<T> - get the value, throw conversion_error if type is not exactly T.
coerce<T> - coerce the value to T if it is std::is_convertible, else throw 
conversion_error

- documentation page on C++/AMQP type conversion
- API doc for all types involved.
- cleanup/hide some internals.


> Assorted C++ API cleanups
> -------------------------
>
>                 Key: PROTON-1138
>                 URL: https://issues.apache.org/jira/browse/PROTON-1138
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>    Affects Versions: 0.13.0
>            Reporter: Justin Ross
>            Assignee: Justin Ross
>             Fix For: 0.13.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to