Path: blob/main/system/lib/libcxx/src/functional.cpp
6175 views
//===----------------------------------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include <functional>910_LIBCPP_BEGIN_NAMESPACE_STD1112bad_function_call::~bad_function_call() noexcept {}1314const char* bad_function_call::what() const noexcept { return "std::bad_function_call"; }1516size_t __hash_memory(_LIBCPP_NOESCAPE const void* ptr, size_t size) noexcept {17return __murmur2_or_cityhash<size_t>()(ptr, size);18}1920_LIBCPP_END_NAMESPACE_STD212223