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