Debian Codegraph @

libcxx/modules/std/coroutine.inc

raw
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
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 export namespace std {
11
12 // [coroutine.traits], coroutine traits
13 using std::coroutine_traits;
14
15 // [coroutine.handle], coroutine handle
16 using std::coroutine_handle;
17
18 // [coroutine.handle.compare], comparison operators
19 using std::operator==;
20 using std::operator<=>;
21
22 // [coroutine.handle.hash], hash support
23 using std::hash;
24
25 // [coroutine.noop], no-op coroutines
26 using std::noop_coroutine;
27 using std::noop_coroutine_handle;
28 using std::noop_coroutine_promise;
29
30 // [coroutine.trivial.awaitables], trivial awaitables
31 using std::suspend_always;
32 using std::suspend_never;
33 } // namespace std