//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 // template // using sentinel_t = decltype(ranges::end(declval<_Rp&>())); #include #include #include "test_iterators.h" #include "test_range.h" static_assert(std::same_as >, sentinel>); static_assert(std::same_as const>, sentinel>); static_assert(std::same_as >, sentinel>); static_assert(std::same_as >, forward_iterator >); static_assert(std::same_as const>, forward_iterator >); static_assert(std::same_as >, forward_iterator >);