From 48c122fb28c2e3610e6d28173e56ae08b57add8d Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 9 Apr 2024 09:56:07 +0200 Subject: [PATCH] meta: minor changes --- src/entt/meta/container.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/entt/meta/container.hpp b/src/entt/meta/container.hpp index c85f2d249..f23d001bf 100644 --- a/src/entt/meta/container.hpp +++ b/src/entt/meta/container.hpp @@ -62,14 +62,14 @@ template struct basic_meta_sequence_container_traits { static_assert(std::is_same_v>>, "Unexpected type"); - /*! @brief True in case of key-only containers, false otherwise. */ - static constexpr bool fixed_size = internal::fixed_size_sequence_container_v; - /*! @brief Unsigned integer type. */ using size_type = typename meta_sequence_container::size_type; /*! @brief Meta iterator type. */ using iterator = typename meta_sequence_container::iterator; + /*! @brief True in case of key-only containers, false otherwise. */ + static constexpr bool fixed_size = internal::fixed_size_sequence_container_v; + /** * @brief Returns the number of elements in a container. * @param container Opaque pointer to a container of the given type. @@ -195,14 +195,14 @@ template struct basic_meta_associative_container_traits { static_assert(std::is_same_v>>, "Unexpected type"); - /*! @brief True in case of key-only containers, false otherwise. */ - static constexpr bool key_only = internal::key_only_associative_container_v; - /*! @brief Unsigned integer type. */ using size_type = typename meta_associative_container::size_type; /*! @brief Meta iterator type. */ using iterator = typename meta_associative_container::iterator; + /*! @brief True in case of key-only containers, false otherwise. */ + static constexpr bool key_only = internal::key_only_associative_container_v; + /** * @brief Returns the number of elements in a container. * @param container Opaque pointer to a container of the given type.