Version of Boost
devel branch, commit 85f9e92c18283d42737ebd067df4f881824e4edb
Steps necessary to reproduce the problem
#include <boost/json/parse_into.hpp>
#include <boost/describe/class.hpp>
struct Test
{
std::tuple<bool, int> t1;
};
BOOST_DESCRIBE_STRUCT(Test, (), (t1))
int main()
{
Test object{};
std::error_code ec;
std::string data = R"({"t1":[]})";
boost::json::parse_into(object, data, ec);
return 0;
}
Output:
test-parse: boost/json/detail/parse_into.hpp:109: bool boost::json::detail::handler_error_base<boost::json::error::not_bool>::on_object_end(system::error_code &) [E = boost::json::error::not_bool]: Assertion `false' failed.
Aborted (core dumped)
All relevant compiler information
Clang version 17.0.6
Version of Boost
develbranch, commit85f9e92c18283d42737ebd067df4f881824e4edbSteps necessary to reproduce the problem
Output:
All relevant compiler information
Clang version 17.0.6