Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/libcxx/src/expected.cpp
35154 views
1
//===----------------------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include <expected>
10
11
_LIBCPP_BEGIN_NAMESPACE_STD
12
#if _LIBCPP_STD_VER >= 23
13
const char* bad_expected_access<void>::what() const noexcept { return "bad access to std::expected"; }
14
#endif
15
_LIBCPP_END_NAMESPACE_STD
16
17