Skip to content

Commit

Permalink
Test that a view is semiregular
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Feb 29, 2024
1 parent 97a7dd9 commit 83d4260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ TEST_CASE("view.concept")
using ArrayExtents = llama::ArrayExtentsDynamic<std::size_t, 2>;
using View = llama::View<llama::mapping::AlignedAoS<ArrayExtents, RecordDimJustInt>, std::byte*>;
STATIC_REQUIRE(llama::AnyView<View>);
STATIC_REQUIRE(std::semiregular<View>);
// TODO(bgruber): finish SubView iterators and reenable this check
// using SubView = llama::SubView<View>;
// STATIC_REQUIRE(llama::AnyView<SubView>);
Expand Down

0 comments on commit 83d4260

Please sign in to comment.