diff --git a/src/entt/entity/table.hpp b/src/entt/entity/table.hpp index 803c6c0aa..d1f0d23bc 100644 --- a/src/entt/entity/table.hpp +++ b/src/entt/entity/table.hpp @@ -1,12 +1,29 @@ #ifndef ENTT_ENTITY_TABLE_HPP #define ENTT_ENTITY_TABLE_HPP +#include #include +#include #include +#include #include "fwd.hpp" namespace entt { +/*! @cond TURN_OFF_DOXYGEN */ +namespace internal { + +struct basic_common_table { + using size_type = std::size_t; + + virtual void reserve(const size_type) = 0; + [[nodiscard]] virtual size_type capacity() const noexcept = 0; + virtual void shrink_to_fit() = 0; +}; + +} // namespace internal +/*! @endcond */ + /** * @brief Basic table implementation. *