Skip to content

Commit

Permalink
Fixed arrow_layout concept
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Jun 28, 2024
1 parent 50f65c9 commit b33e3e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/sparrow/array_data_concepts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "sparrow/dictionary_encoded_layout.hpp"
#include "sparrow/fixed_size_layout.hpp"
#include "sparrow/mp_utils.hpp"
#include "sparrow/null_layout.hpp"
#include "sparrow/variable_size_binary_layout.hpp"

namespace sparrow
Expand All @@ -30,7 +31,8 @@ namespace sparrow
* @tparam Layout The layout type to check.
*/
template <class Layout>
concept arrow_layout = mpl::is_type_instance_of_v<Layout, fixed_size_layout>
concept arrow_layout = mpl::is_type_instance_of_v<Layout, null_layout>
|| mpl::is_type_instance_of_v<Layout, fixed_size_layout>
|| mpl::is_type_instance_of_v<Layout, variable_size_binary_layout>
|| mpl::is_type_instance_of_v<Layout, dictionary_encoded_layout>;

Expand Down

0 comments on commit b33e3e6

Please sign in to comment.