Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / modules / std / expected.inc
blobc21683cb90d6348bf8fb849211514abec650c915
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 //===----------------------------------------------------------------------===//
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
19   using std::unexpect;
20   using std::unexpect_t;
22   // [expected.expected], class template expected
23   using std::expected;
24 #endif // _LIBCPP_STD_VER >= 23
25 } // namespace std