From de054655abb14cd84b2687820f0ef8a963bd4326 Mon Sep 17 00:00:00 2001 From: skypjack Date: Fri, 17 Oct 2025 16:41:27 +0200 Subject: [PATCH] any: doc --- src/entt/core/any.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entt/core/any.hpp b/src/entt/core/any.hpp index 5d020cf54..ff4a383ac 100644 --- a/src/entt/core/any.hpp +++ b/src/entt/core/any.hpp @@ -476,6 +476,7 @@ public: * @return False if the two objects differ in their content, true otherwise. */ [[nodiscard]] bool operator==(const basic_any &other) const noexcept { + // it could be a call across boundaries, but still for the same type if(vtable && ((vtable == other.vtable) || has_value(other.info()))) { return (vtable(request::compare, *this, other.data()) != nullptr); }