diff --git a/include/ylt/struct_pack/reflection.hpp b/include/ylt/struct_pack/reflection.hpp index 353cedd7a..3aa5c34f5 100644 --- a/include/ylt/struct_pack/reflection.hpp +++ b/include/ylt/struct_pack/reflection.hpp @@ -463,9 +463,15 @@ constexpr bool deserialize_view = deserialize_view_impl::value; template constexpr inline bool is_std_vector_v> = true; + template + constexpr inline bool is_std_array_v = false; + + template + constexpr inline bool is_std_array_v> = true; + template constexpr bool continuous_container = - string || (container && (is_std_vector_v || is_std_basic_string_v)); + string || (container && (is_std_vector_v || is_std_basic_string_v || is_std_array_v)); #endif #if __cpp_concepts >= 201907L