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