26 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11#if _LIBCPP_STD_VER >= 2312 // [expected.unexpected], class template unexpected13 using std::unexpected;14 15 // [expected.bad], class template bad_expected_access16 using std::bad_expected_access;17 18 // in-place construction of unexpected values19 using std::unexpect;20 using std::unexpect_t;21 22 // [expected.expected], class template expected23 using std::expected;24#endif // _LIBCPP_STD_VER >= 2325} // namespace std26