Skip to content

Commit

Permalink
fix trivial copy container
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Jul 30, 2023
1 parent a78b404 commit 605ec1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ylt/struct_pack/reflection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ constexpr bool deserialize_view = deserialize_view_impl<Type>::value;

template <typename Type>
constexpr bool continuous_container =
container<Type> &&(is_std_vector_v<Type> || is_std_basic_string_v<Type>);
string<Type> || (container<Type> && (is_std_vector_v<Type> || is_std_basic_string_v<Type>));
#endif

#if __cpp_concepts >= 201907L
Expand Down

0 comments on commit 605ec1b

Please sign in to comment.