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#ifndef _LIBCPP___FUNCTIONAL_FUNCTION_REF_H
10#define _LIBCPP___FUNCTIONAL_FUNCTION_REF_H
11
12#include <__config>
13#include <__functional/function_ref_common.h>
14
15#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
16# pragma GCC system_header
17#endif
18
19#if _LIBCPP_STD_VER >= 26
20// NOLINTBEGIN(readability-duplicate-include)
21
22# define _LIBCPP_FUNCTION_REF_CV
23# include <__functional/function_ref_impl.h>
24# undef _LIBCPP_FUNCTION_REF_CV
25
26# define _LIBCPP_FUNCTION_REF_CV const
27# include <__functional/function_ref_impl.h>
28# undef _LIBCPP_FUNCTION_REF_CV
29
30// NOLINTEND(readability-duplicate-include)
31#endif // _LIBCPP_STD_VER >= 26
32
33#endif // _LIBCPP___FUNCTIONAL_FUNCTION_REF_H
34