stl: std::any_of

This commit is contained in:
skypjack
2026-04-20 16:42:27 +02:00
parent 2975d14352
commit 882cbd2251
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1087,7 +1087,7 @@ public:
*/
template<typename... Type>
[[nodiscard]] bool owned() const {
return std::any_of(groups.cbegin(), groups.cend(), [](auto &&data) { return (data.second->owned(type_id<Type>().hash()) || ...); });
return stl::any_of(groups.cbegin(), groups.cend(), [](auto &&data) { return (data.second->owned(type_id<Type>().hash()) || ...); });
}
/**
+1
View File
@@ -7,6 +7,7 @@
namespace entt::stl {
using std::all_of;
using std::any_of;
using std::none_of;
using std::sort;