diff --git a/TODO b/TODO index dc011a6d9..5fa447889 100644 --- a/TODO +++ b/TODO @@ -20,3 +20,4 @@ Next: * WIP: snapshot rework - snapshot: support for range-based archives - update documentation to describe alternatives + - storage::object_type -> value_type diff --git a/src/entt/entity/group.hpp b/src/entt/entity/group.hpp index d5872919c..3e48e3dd6 100644 --- a/src/entt/entity/group.hpp +++ b/src/entt/entity/group.hpp @@ -101,7 +101,7 @@ public: using entity_type = Entity; /*! @brief Unsigned integer type. */ using size_type = std::size_t; - /*! @brief Input iterator type. */ + /*! @brief Random access iterator type. */ using iterator = typename sparse_set::iterator; /** @@ -213,7 +213,7 @@ public: * `end()`. * * @note - * Input iterators stay true to the order imposed to the underlying data + * Iterators stay true to the order imposed to the underlying data * structures. * * @return An iterator to the first entity that has the given components. @@ -231,7 +231,7 @@ public: * results in undefined behavior. * * @note - * Input iterators stay true to the order imposed to the underlying data + * Iterators stay true to the order imposed to the underlying data * structures. * * @return An iterator to the entity following the last entity that has the @@ -521,7 +521,7 @@ public: using entity_type = Entity; /*! @brief Unsigned integer type. */ using size_type = std::size_t; - /*! @brief Input iterator type. */ + /*! @brief Random access iterator type. */ using iterator = typename sparse_set::iterator; /** @@ -625,7 +625,7 @@ public: * `end()`. * * @note - * Input iterators stay true to the order imposed to the underlying data + * Iterators stay true to the order imposed to the underlying data * structures. * * @return An iterator to the first entity that has the given components. @@ -643,7 +643,7 @@ public: * results in undefined behavior. * * @note - * Input iterators stay true to the order imposed to the underlying data + * Iterators stay true to the order imposed to the underlying data * structures. * * @return An iterator to the entity following the last entity that has the diff --git a/src/entt/entity/observer.hpp b/src/entt/entity/observer.hpp index fe91c1aeb..715aa8243 100644 --- a/src/entt/entity/observer.hpp +++ b/src/entt/entity/observer.hpp @@ -267,7 +267,7 @@ public: using entity_type = Entity; /*! @brief Unsigned integer type. */ using size_type = std::size_t; - /*! @brief Input iterator type. */ + /*! @brief Random access iterator type. */ using iterator = typename sparse_set::iterator; /*! @brief Default constructor. */ diff --git a/src/entt/entity/runtime_view.hpp b/src/entt/entity/runtime_view.hpp index 874e79457..ed2cf915d 100644 --- a/src/entt/entity/runtime_view.hpp +++ b/src/entt/entity/runtime_view.hpp @@ -150,7 +150,7 @@ public: using entity_type = Entity; /*! @brief Unsigned integer type. */ using size_type = std::size_t; - /*! @brief Input iterator type. */ + /*! @brief Bidirectional iterator type. */ using iterator = view_iterator; /** @@ -178,7 +178,7 @@ public: * `end()`. * * @note - * Input iterators stay true to the order imposed to the underlying data + * Iterators stay true to the order imposed to the underlying data * structures. * * @return An iterator to the first entity that has the given components. @@ -202,7 +202,7 @@ public: * results in undefined behavior. * * @note - * Input iterators stay true to the order imposed to the underlying data + * Iterators stay true to the order imposed to the underlying data * structures. * * @return An iterator to the entity following the last entity that has the