2 //===----------------------------------------------------------------------===//
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
8 //===----------------------------------------------------------------------===//
10 export namespace std {
11 #ifndef _LIBCPP_HAS_NO_THREADS
12 using std::future_errc;
13 using std::future_status;
16 // launch is a bitmask type.
17 // [bitmask.types] specified operators
19 using std::operator&=;
21 using std::operator^=;
23 using std::operator|=;
26 // [futures.errors], error handling
27 using std::is_error_code_enum;
28 using std::make_error_code;
29 using std::make_error_condition;
31 using std::future_category;
33 // [futures.future.error], class future_error
34 using std::future_error;
36 // [futures.promise], class template promise
41 using std::uses_allocator;
43 // [futures.unique.future], class template future
46 // [futures.shared.future], class template shared_future
47 using std::shared_future;
49 // [futures.task], class template packaged_task
50 using std::packaged_task;
52 // [futures.async], function template async
54 #endif // _LIBCPP_HAS_NO_THREADS