aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.generator/nihil.generator.ccm
blob: fc6a097b42549b1468d9a5d3c6bce2ba10693a3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
///////////////////////////////////////////////////////////////////////////////
// Reference implementation of std::generator proposal P2168.
//
// See https://wg21.link/P2168 for details.
//
///////////////////////////////////////////////////////////////////////////////
// Copyright Lewis Baker, Corentin Jabot
//
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0.
// (See accompanying file LICENSE or http://www.boost.org/LICENSE_1_0.txt)
///////////////////////////////////////////////////////////////////////////////

export module nihil.generator;

import nihil.std;

export import :coroutine_traits;
export import :elements_of;
export import :generator;

export namespace std::ranges { // NOLINT

template <typename T, typename U, typename Alloc>
constexpr inline bool enable_view<nihil::generator<T, U, Alloc>> = true;

} // namespace std::ranges