xref: /llvm-project/libcxx/src/expected.cpp (revision 22629bb22a1bea95eebfc9b3171005de107c38f1)
1*22629bb2SLouis Dionne //===----------------------------------------------------------------------===//
2*22629bb2SLouis Dionne //
3*22629bb2SLouis Dionne // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*22629bb2SLouis Dionne // See https://llvm.org/LICENSE.txt for license information.
5*22629bb2SLouis Dionne // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*22629bb2SLouis Dionne //
7*22629bb2SLouis Dionne //===----------------------------------------------------------------------===//
8*22629bb2SLouis Dionne 
9*22629bb2SLouis Dionne #include <expected>
10*22629bb2SLouis Dionne 
11*22629bb2SLouis Dionne _LIBCPP_BEGIN_NAMESPACE_STD
what() const12*22629bb2SLouis Dionne const char* bad_expected_access<void>::what() const noexcept { return "bad access to std::expected"; }
13*22629bb2SLouis Dionne _LIBCPP_END_NAMESPACE_STD
14