Debian Codegraph @

libcxx/include/__cxx03/__iterator/cpp17_iterator_concepts.h

raw
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #ifndef _LIBCPP___CXX03___ITERATOR_CPP17_ITERATOR_CONCEPTS_H
10 #define _LIBCPP___CXX03___ITERATOR_CPP17_ITERATOR_CONCEPTS_H
11
12 #include <__cxx03/__concepts/boolean_testable.h>
13 #include <__cxx03/__concepts/convertible_to.h>
14 #include <__cxx03/__concepts/same_as.h>
15 #include <__cxx03/__config>
16 #include <__cxx03/__iterator/iterator_traits.h>
17 #include <__cxx03/__type_traits/is_constructible.h>
18 #include <__cxx03/__type_traits/is_convertible.h>
19 #include <__cxx03/__type_traits/is_signed.h>
20 #include <__cxx03/__type_traits/is_void.h>
21 #include <__cxx03/__utility/as_const.h>
22 #include <__cxx03/__utility/forward.h>
23 #include <__cxx03/__utility/move.h>
24 #include <__cxx03/__utility/swap.h>
25
26 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
27 # pragma GCC system_header
28 #endif
29
30 _LIBCPP_PUSH_MACROS
31 #include <__cxx03/__undef_macros>
32
33 # define _LIBCPP_REQUIRE_CPP17_INPUT_ITERATOR(iter_t, message) static_assert(true)
34 # define _LIBCPP_REQUIRE_CPP17_OUTPUT_ITERATOR(iter_t, write_t, message) static_assert(true)
35 # define _LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(iter_t, message) static_assert(true)
36 # define _LIBCPP_REQUIRE_CPP17_BIDIRECTIONAL_ITERATOR(iter_t, message) static_assert(true)
37 # define _LIBCPP_REQUIRE_CPP17_RANDOM_ACCESS_ITERATOR(iter_t, message) static_assert(true)
38
39 _LIBCPP_POP_MACROS
40
41 #endif // _LIBCPP___CXX03___ITERATOR_CPP17_ITERATOR_CONCEPTS_H