xref: /freebsd/contrib/llvm-project/libcxx/modules/std/system_error.inc (revision 7899f917b1c0ea178f1d2be0cfb452086d079d23)
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
10export namespace std {
11  using std::error_category;
12  using std::generic_category;
13  using std::system_category;
14
15  using std::error_code;
16  using std::error_condition;
17  using std::system_error;
18
19  using std::is_error_code_enum;
20  using std::is_error_condition_enum;
21
22  using std::errc;
23
24  // [syserr.errcode.nonmembers], non-member functions
25  using std::make_error_code;
26
27  using std::operator<<;
28
29  // [syserr.errcondition.nonmembers], non-member functions
30  using std::make_error_condition;
31
32  // [syserr.compare], comparison operator functions
33  using std::operator==;
34  using std::operator<=>;
35
36  // [syserr.hash], hash support
37  using std::hash;
38
39  // [syserr], system error support
40  using std::is_error_code_enum_v;
41  using std::is_error_condition_enum_v;
42} // namespace std
43