summaryrefslogtreecommitdiff
path: root/libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
diff options
context:
space:
mode:
authorChristopher Di Bella <cjdb@google.com>2021-04-12 01:16:45 +0000
committerChristopher Di Bella <cjdb@google.com>2021-05-03 21:21:33 +0000
commit9c5d86aac505228eddbfda86aa558467d0b7c5e6 (patch)
treeb0f3c9402af1cb5d7cc58ec64df90ed595ff3259 /libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
parent90d18e106be252669659e2573cc3e6f2ea29a452 (diff)
[libcxx][iterator][ranges] adds `bidirectional_iterator` and `bidirectional_range`
Implements parts of: * P0896R4 The One Ranges Proposal` Depends on D100275. Differential Revision: https://reviews.llvm.org/D100278
Diffstat (limited to 'libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp')
-rw-r--r--libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp b/libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
index cdb245ba71f0..02ea3ca87ece 100644
--- a/libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
@@ -22,8 +22,8 @@ namespace stdr = std::ranges;
static_assert(std::same_as<stdr::iterator_t<range>, range::iterator>);
static_assert(stdr::common_range<range>);
-static_assert(stdr::forward_range<range>);
+static_assert(stdr::bidirectional_range<range>);
static_assert(std::same_as<stdr::iterator_t<range const>, range::const_iterator>);
static_assert(stdr::common_range<range const>);
-static_assert(stdr::forward_range<range const>);
+static_assert(stdr::bidirectional_range<range const>);