| 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 |
#if _LIBCPP_STD_VER >= 23 |
| 12 |
// [expected.unexpected], class template unexpected |
| 13 |
using std::unexpected; |
| 14 |
|
| 15 |
// [expected.bad], class template bad_expected_access |
| 16 |
using std::bad_expected_access; |
| 17 |
|
| 18 |
// in-place construction of unexpected values |
| 19 |
using std::unexpect; |
| 20 |
using std::unexpect_t; |
| 21 |
|
| 22 |
// [expected.expected], class template expected |
| 23 |
using std::expected; |
| 24 |
#endif // _LIBCPP_STD_VER >= 23 |
| 25 |
} // namespace std |