-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Description
Currently, std::intrinsics::TypeId
exposes equality testing and hashing, and the Any
trait allows you to get a TypeId
for any 'static
data. Previously, Any
hid these capabilities through a private supertrait, but changed to privacy rules have made that impossible.
We should consider exposing equality and hashing on TypeId
only through a private, internal trait used by Any
. This should mitigate ABI stability hazards.
Metadata
Metadata
Assignees
Labels
No labels