//===----------------------------- --- ------------------------------------===// /* This file is NOT part of the LLVM Project, but it is derived from the LLVM Project's header and therefore subject to the same license: Apache License v2.0 with LLVM Exceptions. See https://llvm.org/LICENSE.txt for license information. SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception Moreover, with respect to the header from which this one derives, this file contains modificitions by Green Hills Software, Inc. See the "Green Hills Software Modifications" section in the LICENSE.txt included with this distribution for more information. */ //===----------------------------------------------------------------------===// /* This GHS file should be identical to the original libc++ . This file exists to break a circular dependency that would be introduced by libc++'s boyer_moore_*, which relies on std::unordered_map (which relies directly and indirectly upon many entities defined by ). C++17 requires that define the boyer_moore_* entities, so we fix the circular dependency by: 1) Having all standard headers that would include include this header instead. 2) Only defining boyer_moore* in and not from here. */ #ifndef _GHS_FUNCTIONAL_CORE_H #define _GHS_FUNCTIONAL_CORE_H #include <__algorithm/search.h> #include <__config> #include <__debug> #include <__functional/binary_function.h> // TODO: deprecate #include <__functional/binary_negate.h> #include <__functional/bind_front.h> #include <__functional/bind.h> #include <__functional/binder1st.h> #include <__functional/binder2nd.h> #include <__functional/default_searcher.h> #include <__functional/function.h> #include <__functional/hash.h> #include <__functional/identity.h> #include <__functional/invoke.h> #include <__functional/mem_fn.h> // TODO: deprecate #include <__functional/mem_fun_ref.h> #include <__functional/not_fn.h> #include <__functional/operations.h> #include <__functional/pointer_to_binary_function.h> #include <__functional/pointer_to_unary_function.h> #include <__functional/ranges_operations.h> #include <__functional/reference_wrapper.h> #include <__functional/unary_function.h> // TODO: deprecate #include <__functional/unary_negate.h> #include <__functional/unwrap_ref.h> #include <__utility/forward.h> #include #include #include #include #include #include #include #include #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif #if defined(__ghs__) #pragma ghs start_cxx_lib_header #pragma ghs startdata #if defined(__ghs_max_pack_value) #pragma pack (push, __ghs_max_pack_value) #endif #endif #if defined(__ghs__) #if defined(__ghs_max_pack_value) #pragma pack(pop) #endif #pragma ghs enddata #pragma ghs end_cxx_lib_header #endif #endif /* _GHS_FUNCTIONAL_CORE_H */