From 61e5bcef2629e2d68b805a956a96fff264d4f74d Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 28 Jun 2025 01:59:49 +0500 Subject: Restructure dependencies and update to C++20 - Nuked static_assert from almost everywhere in the project - Nuked binary dependency support. Might add one later though - Separated dependency headers into a separate include subdirectory - Grafted a thirdpartylegalnotices.txt generator from RITEG - Pushed development snapshot version to 2126 (26th week of 2025) --- deps/include/entt/meta/policy.hpp | 58 --------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 deps/include/entt/meta/policy.hpp (limited to 'deps/include/entt/meta/policy.hpp') diff --git a/deps/include/entt/meta/policy.hpp b/deps/include/entt/meta/policy.hpp deleted file mode 100644 index 2974b89..0000000 --- a/deps/include/entt/meta/policy.hpp +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef ENTT_META_POLICY_HPP -#define ENTT_META_POLICY_HPP - -#include - -namespace entt { - -/*! @brief Empty class type used to request the _as ref_ policy. */ -struct as_ref_t final { - /*! @cond TURN_OFF_DOXYGEN */ - template - static constexpr bool value = std::is_reference_v && !std::is_const_v>; - /*! @endcond */ -}; - -/*! @brief Empty class type used to request the _as cref_ policy. */ -struct as_cref_t final { - /*! @cond TURN_OFF_DOXYGEN */ - template - static constexpr bool value = std::is_reference_v; - /*! @endcond */ -}; - -/*! @brief Empty class type used to request the _as-is_ policy. */ -struct as_is_t final { - /*! @cond TURN_OFF_DOXYGEN */ - template - static constexpr bool value = true; - /*! @endcond */ -}; - -/*! @brief Empty class type used to request the _as void_ policy. */ -struct as_void_t final { - /*! @cond TURN_OFF_DOXYGEN */ - template - static constexpr bool value = true; - /*! @endcond */ -}; - -/** - * @brief Provides the member constant `value` to true if a type also is a meta - * policy, false otherwise. - * @tparam Type Type to check. - */ -template -struct is_meta_policy - : std::bool_constant || std::is_same_v || std::is_same_v || std::is_same_v> {}; - -/** - * @brief Helper variable template. - * @tparam Type Type to check. - */ -template -inline constexpr bool is_meta_policy_v = is_meta_policy::value; - -} // namespace entt - -#endif -- cgit