stl: std::any_of
This commit is contained in:
@@ -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()) || ...); });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
namespace entt::stl {
|
||||
|
||||
using std::all_of;
|
||||
using std::any_of;
|
||||
using std::none_of;
|
||||
using std::sort;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user