From 0fb244e381869f8a7403a6c81dded2a369c9dfe3 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 16 Sep 2020 14:55:57 +0200 Subject: [PATCH] type info: removed has_type_index[_v] utility --- src/entt/core/type_info.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/entt/core/type_info.hpp b/src/entt/core/type_info.hpp index 0c6b781e2..f1716ed8c 100644 --- a/src/entt/core/type_info.hpp +++ b/src/entt/core/type_info.hpp @@ -68,28 +68,6 @@ struct ENTT_API type_index { }; -/** - * @brief Provides the member constant `value` to true if a given type is - * indexable, false otherwise. - * @tparam Type Potentially indexable type. - */ -template -struct has_type_index: std::false_type {}; - - -/*! @brief has_type_index */ -template -struct has_type_index::value())>>: std::true_type {}; - - -/** - * @brief Helper variable template. - * @tparam Type Potentially indexable type. - */ -template -inline constexpr bool has_type_index_v = has_type_index::value; - - /** * @brief Type info. * @tparam Type Type for which to generate information.