Kim van der Riet created PROTON-1815:
----------------------------------------
Summary: [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: Task
Components: cpp-binding
Reporter: Kim van der Riet
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}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]