blob: 64feb76d03523b9f38c86660c0da4903c5a1da0d [file] [log] [blame]
Mark de Weveraf59b2d2020-11-24 18:08:02 +01001// -*- C++ -*-
2//===--------------------------- ranges -----------------------------------===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_RANGES
11#define _LIBCPP_RANGES
12
13/*
14
15#include <compare> // see [compare.syn]
16#include <initializer_list> // see [initializer.list.syn]
17#include <iterator> // see [iterator.synopsis]
18
19namespace std::ranges {
Christopher Di Bella66ce1292021-04-11 05:08:32 +000020 inline namespace unspecified {
21 // [range.access], range access
22 inline constexpr unspecified begin = unspecified;
23 inline constexpr unspecified end = unspecified;
24 inline constexpr unspecified cbegin = unspecified;
25 inline constexpr unspecified cend = unspecified;
26 }
27
Mark de Weveraf59b2d2020-11-24 18:08:02 +010028 // [range.range], ranges
29 template<class T>
30 inline constexpr bool enable_borrowed_range = false;
Christopher Di Bella66ce1292021-04-11 05:08:32 +000031
32 template<class T>
33 using iterator_t = decltype(ranges::begin(declval<T&>()));
Mark de Weveraf59b2d2020-11-24 18:08:02 +010034}
35
36*/
37
38#include <__config>
Christopher Di Bella66ce1292021-04-11 05:08:32 +000039#include <__ranges/access.h>
Mark de Weveraf59b2d2020-11-24 18:08:02 +010040#include <__ranges/enable_borrowed_range.h>
41#include <compare> // Required by the standard.
42#include <initializer_list> // Required by the standard.
43#include <iterator> // Required by the standard.
44#include <type_traits>
45#include <version>
46
47#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
48#pragma GCC system_header
49#endif
50
51_LIBCPP_PUSH_MACROS
52#include <__undef_macros>
53
54_LIBCPP_BEGIN_NAMESPACE_STD
55
56#if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_RANGES)
57
58#endif // _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_RANGES)
59
60_LIBCPP_END_NAMESPACE_STD
61
62_LIBCPP_POP_MACROS
63
64#endif // _LIBCPP_RANGES