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