From f7dec412ec719dd9548f31b5451359cffa44d005 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 18 Feb 2019 14:37:04 +0100 Subject: [PATCH] minor changes --- src/entt/core/type_traits.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/entt/core/type_traits.hpp b/src/entt/core/type_traits.hpp index e483747e6..d0115ff52 100644 --- a/src/entt/core/type_traits.hpp +++ b/src/entt/core/type_traits.hpp @@ -53,6 +53,14 @@ struct shared_traits {}; +/** + * @brief Helper type. + * @tparam Type Potentially shared type. + */ +template +using shared_traits_t = typename shared_traits::type; + + /** * @brief Provides the member constant `value` to true if a given type is * shared. In all other cases, `value` is false. @@ -67,7 +75,7 @@ struct is_shared: std::false_type {}; * @tparam Type Potentially shared type. */ template -struct is_shared>::type>>: std::true_type {}; +struct is_shared>>>: std::true_type {}; /**