Procházet zdrojové kódy

storage: entity storage value_type

Michele Caini před 2 roky
rodič
revize
88889c5a8a
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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. */