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 <functional>
10
11_LIBCPP_BEGIN_NAMESPACE_STD
12_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
13
14bad_function_call::~bad_function_call() noexcept {}
15
16const char* bad_function_call::what() const noexcept { return "std::bad_function_call"; }
17
18size_t __hash_memory(_LIBCPP_NOESCAPE const void* ptr, size_t size) noexcept {
19 return __murmur2_or_cityhash<size_t>()(ptr, size);
20}
21
22_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS
23_LIBCPP_END_NAMESPACE_STD
24