Browse Source

storage: entity storage value_type

Michele Caini 1 year ago
parent
commit
88889c5a8a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/entt/entity/storage.hpp

+ 2 - 0
src/entt/entity/storage.hpp

@@ -1012,6 +1012,8 @@ public:
     using base_type = basic_sparse_set<Entity, Allocator>;
     /*! @brief Element type. */
     using element_type = Entity;
+    /*! @brief Type of the objects assigned to entities. */
+    using value_type = element_type;
     /*! @brief Underlying entity identifier. */
     using entity_type = Entity;
     /*! @brief Unsigned integer type. */