summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/functional.cpp
blob: 5c2646f01b2e5dc845b194ac38843158453c1b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===----------------------- functional.cpp -------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "functional"

_LIBCPP_BEGIN_NAMESPACE_STD

#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_KEY_FUNCTION
bad_function_call::~bad_function_call() _NOEXCEPT
{
}

const char*
bad_function_call::what() const _NOEXCEPT
{
    return "std::bad_function_call";
}
#endif

_LIBCPP_END_NAMESPACE_STD
OpenPOWER on IntegriCloud