1#ifndef ENTT_STL_FUNCTIONAL_HPP
2#define ENTT_STL_FUNCTIONAL_HPP
5#if __has_include(<entt/ext/stl/functional.hpp>)
6# include <entt/ext/stl/functional.hpp>
10# include "../config/config.h"
22# ifndef ENTT_FORCE_STL
23# if defined(__cpp_lib_ranges)
24# define ENTT_HAS_IDENTITY
33# ifndef ENTT_HAS_IDENTITY
39 using is_transparent = void;
41 template<
typename Type>
42 [[nodiscard]]
constexpr Type &&operator()(Type &&value)
const noexcept {
43 return std::forward<Type>(value);
53#undef ENTT_HAS_IDENTITY
Custom EnTT namespace for the standard template library.