فهرست منبع

added fwd decl for runtime view

Michele Caini 7 سال پیش
والد
کامیت
f7c056145a
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      src/entt/entity/fwd.hpp

+ 7 - 0
src/entt/entity/fwd.hpp

@@ -16,6 +16,10 @@ class basic_registry;
 template<typename, typename...>
 class basic_view;
 
+/*! @brief Forward declaration of the runtime view class. */
+template<typename>
+class basic_runtime_view;
+
 /*! @brief Forward declaration of the group class. */
 template<typename...>
 class basic_group;
@@ -68,6 +72,9 @@ using continuous_loader = basic_continuous_loader<entity>;
 template<typename... Types>
 using view = basic_view<entity, Types...>;
 
+/*! @brief Alias declaration for the most common use case. */
+using runtime_view = basic_runtime_view<entity>;
+
 /**
  * @brief Alias declaration for the most common use case.
  * @tparam Types Types of components iterated by the group.