• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
10module;
11#include <system_error>
12
13export module std:system_error;
14export namespace std {
15  using std::error_category;
16  using std::generic_category;
17  using std::system_category;
18
19  using std::error_code;
20  using std::error_condition;
21  using std::system_error;
22
23  using std::is_error_code_enum;
24  using std::is_error_condition_enum;
25
26  using std::errc;
27
28  // [syserr.errcode.nonmembers], non-member functions
29  using std::make_error_code;
30
31  using std::operator<<;
32
33  // [syserr.errcondition.nonmembers], non-member functions
34  using std::make_error_condition;
35
36  // [syserr.compare], comparison operator functions
37  using std::operator==;
38  using std::operator<=>;
39
40  // [syserr.hash], hash support
41  using std::hash;
42
43  // [syserr], system error support
44  using std::is_error_code_enum_v;
45  using std::is_error_condition_enum_v;
46} // namespace std
47