Skip to content

Commit f502b98

Browse files
committed
[libc++][NFC] Add comment in test to explain the presence of some assertions
1 parent 6a075a9 commit f502b98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/test/libcxx/ranges/range.utility.helpers/simple_view.compile.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ static_assert(!std::ranges::__simple_view<NoConstView>);
5050
static_assert( std::ranges::__simple_view<DifferentSentinel>);
5151
static_assert(!std::ranges::__simple_view<WrongConstSentinel>);
5252

53+
// To make sure __simple_view and the test version of the concept stay in sync.
5354
static_assert(simple_view<SimpleView>);
5455
static_assert(!simple_view<WrongConstView>);
5556
static_assert(!simple_view<NoConstView>);

0 commit comments

Comments
 (0)