xref: /freebsd/contrib/llvm-project/libcxx/modules/std/system_error.inc (revision 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
1*5f757f3fSDimitry Andric// -*- C++ -*-
2*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
3*5f757f3fSDimitry Andric//
4*5f757f3fSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5*5f757f3fSDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
6*5f757f3fSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7*5f757f3fSDimitry Andric//
8*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
9*5f757f3fSDimitry Andric
10*5f757f3fSDimitry Andricexport namespace std {
11*5f757f3fSDimitry Andric  using std::error_category;
12*5f757f3fSDimitry Andric  using std::generic_category;
13*5f757f3fSDimitry Andric  using std::system_category;
14*5f757f3fSDimitry Andric
15*5f757f3fSDimitry Andric  using std::error_code;
16*5f757f3fSDimitry Andric  using std::error_condition;
17*5f757f3fSDimitry Andric  using std::system_error;
18*5f757f3fSDimitry Andric
19*5f757f3fSDimitry Andric  using std::is_error_code_enum;
20*5f757f3fSDimitry Andric  using std::is_error_condition_enum;
21*5f757f3fSDimitry Andric
22*5f757f3fSDimitry Andric  using std::errc;
23*5f757f3fSDimitry Andric
24*5f757f3fSDimitry Andric  // [syserr.errcode.nonmembers], non-member functions
25*5f757f3fSDimitry Andric  using std::make_error_code;
26*5f757f3fSDimitry Andric
27*5f757f3fSDimitry Andric  using std::operator<<;
28*5f757f3fSDimitry Andric
29*5f757f3fSDimitry Andric  // [syserr.errcondition.nonmembers], non-member functions
30*5f757f3fSDimitry Andric  using std::make_error_condition;
31*5f757f3fSDimitry Andric
32*5f757f3fSDimitry Andric  // [syserr.compare], comparison operator functions
33*5f757f3fSDimitry Andric  using std::operator==;
34*5f757f3fSDimitry Andric  using std::operator<=>;
35*5f757f3fSDimitry Andric
36*5f757f3fSDimitry Andric  // [syserr.hash], hash support
37*5f757f3fSDimitry Andric  using std::hash;
38*5f757f3fSDimitry Andric
39*5f757f3fSDimitry Andric  // [syserr], system error support
40*5f757f3fSDimitry Andric  using std::is_error_code_enum_v;
41*5f757f3fSDimitry Andric  using std::is_error_condition_enum_v;
42*5f757f3fSDimitry Andric} // namespace std
43