I'm trying to decode into an std::array of a non-default constructible class. I have a tag_invoke specialization for the class itself, and I've added the is_sequence_like<std::array<TYPE>> : std::false_type {} specialization.
Unfortunately, this still doesn't quite work because line 318 of boost/json/detail/value_to.hpp uses:
return {
boost::system::in_place_value, T(std::move(*std::get<Is>(items))...});
instead of
return {
boost::system::in_place_value, T{std::move(*std::get<Is>(items))...}};
I'm trying to decode into an
std::arrayof a non-default constructible class. I have atag_invokespecialization for the class itself, and I've added theis_sequence_like<std::array<TYPE>> : std::false_type {}specialization.Unfortunately, this still doesn't quite work because line 318 of
boost/json/detail/value_to.hppuses:instead of