[libc++][NFC] Add comment in test to explain the presence of some assertions

This commit is contained in:
Louis Dionne 2024-01-10 13:02:50 -05:00
parent 6a075a9d5d
commit f502b981b4

View File

@ -50,6 +50,7 @@ static_assert(!std::ranges::__simple_view<NoConstView>);
static_assert( std::ranges::__simple_view<DifferentSentinel>);
static_assert(!std::ranges::__simple_view<WrongConstSentinel>);
// To make sure __simple_view and the test version of the concept stay in sync.
static_assert(simple_view<SimpleView>);
static_assert(!simple_view<WrongConstView>);
static_assert(!simple_view<NoConstView>);