Skip to content

Type matching issue in registry context introduced in entt 3.16.0 #1310

Description

@jdumas

Hi.

I've hit a very elusive bug in EnTT's type matching behavior. I believe it was introduced by the refactoring of entt::any in v3.16.0. It took me some time to pin down a MWE in Godbolt, but I finally got it:

https://godbolt.org/z/95ET9rMdz

  • The code works fine if we compile with EnTT 3.15.0
  • The code works fine if we compile in Debug mode

Please let me know what are your thoughts on the matter.

Metadata

Metadata

Assignees

Labels

triagepending issue, PR or whatever

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions