• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===----------------------- functional.cpp -------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include "functional"
11 
12 _LIBCPP_BEGIN_NAMESPACE_STD
13 
14 #ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_KEY_FUNCTION
~bad_function_call()15 bad_function_call::~bad_function_call() _NOEXCEPT
16 {
17 }
18 
19 const char*
what() const20 bad_function_call::what() const _NOEXCEPT
21 {
22     return "std::bad_function_call";
23 }
24 #endif
25 
26 _LIBCPP_END_NAMESPACE_STD
27