From fdbf30abc4bf300e553267f5be17f0fd575db53a Mon Sep 17 00:00:00 2001 From: skypjack Date: Wed, 28 Jan 2026 12:29:00 +0100 Subject: [PATCH] view: update basic_view definition --- src/entt/entity/fwd.hpp | 2 +- src/entt/entity/view.hpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/entt/entity/fwd.hpp b/src/entt/entity/fwd.hpp index abf757b60..ca495e3ef 100644 --- a/src/entt/entity/fwd.hpp +++ b/src/entt/entity/fwd.hpp @@ -61,7 +61,7 @@ class basic_reactive_mixin; template> class basic_registry; -template +template class basic_view; template> diff --git a/src/entt/entity/view.hpp b/src/entt/entity/view.hpp index 884975962..198061094 100644 --- a/src/entt/entity/view.hpp +++ b/src/entt/entity/view.hpp @@ -198,7 +198,7 @@ private: * In all other cases, modifying the storage iterated by a view in any way can * invalidate all iterators. */ -template +template class basic_view; /** @@ -409,7 +409,8 @@ private: * @tparam Exclude Types of storage used to filter the view. */ template -class basic_view, exclude_t, std::enable_if_t<(sizeof...(Get) != 0u)>> +requires (sizeof...(Get) != 0u) +class basic_view, exclude_t> : public basic_common_view, internal::tombstone_check_v, sizeof...(Get), sizeof...(Exclude)> { using base_type = basic_common_view, internal::tombstone_check_v, sizeof...(Get), sizeof...(Exclude)>;