1//===----------------------- functional.cpp -------------------------------===//
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 "functional"
10
11_LIBCPP_BEGIN_NAMESPACE_STD
12
13#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_KEY_FUNCTION
14bad_function_call::~bad_function_call() _NOEXCEPT
15{
16}
17
18const char*
19bad_function_call::what() const _NOEXCEPT
20{
21 return "std::bad_function_call";
22}
23#endif
24
25_LIBCPP_END_NAMESPACE_STD
26