Comptime unique IDs

my problem isn’t unique types but rather unique instances of some common struct type that are otherwise identically initialized…

i’ve tried to use the technique suggested by @AndrewCodeDev in this post… it definitely works for me in some but not all situations…

another approach is to have an .id field within my struct type, which i would then set to a distinct value per instance… this would make it patently clear that each instance of my struct are truly unique in the eyes of the compiler…

but then, i need a unique identifier at comptime :wink: