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

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

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

PROTON-1818 / PROTON-1815: [C++ binding] Tidy up some aspects of handling the 
null value


> [C++ binding]  Complex types: List containing array of std::nullptr_t fails 
> compilation
> ---------------------------------------------------------------------------------------
>
>                 Key: PROTON-1815
>                 URL: https://issues.apache.org/jira/browse/PROTON-1815
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>            Reporter: Kim van der Riet
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> If an array of AMQP nulls is contained in a list, the compiler fails with:
> {noformat}
> include/proton/./codec/vector.hpp:39:31: error: incomplete type 
> ‘proton::internal::type_id_of<std::nullptr_t>’ used in nested name specifier
> {noformat}
> Code snippet that produces this error:
> {noformat}
> std::vector<std::nullptr_t> _arr_27 = {nullptr, nullptr, };
> std::vector<int8_t> _arr_28 = {int8_t(1), int8_t(2), };
> std::vector<proton::value> _lst_7 = {_arr_27, _arr_28, };
> {noformat}
> which fails on the third line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to