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 10module; 11#include <expected> 12 13export module std:expected; 14export namespace std { 15 // [expected.unexpected], class template unexpected 16 using std::unexpected; 17 18 // [expected.bad], class template bad_expected_access 19 using std::bad_expected_access; 20 21 // in-place construction of unexpected values 22 using std::unexpect; 23 using std::unexpect_t; 24 25 // [expected.expected], class template expected 26 using std::expected; 27} // namespace std 28