❔ AllOf<>? Something along the same lines as discriminated unions?
Essentially I am trying to write a generic class that is something like this:
Is there absolutely not way to get this to resolve at compile time? I suspect not, but who knows what kind of crazy ideas people can come up with
My current best idea is this, but id like to avoid having to have the setter, but worst case scenario this will probably do the trick
Is there absolutely not way to get this to resolve at compile time? I suspect not, but who knows what kind of crazy ideas people can come up with
My current best idea is this, but id like to avoid having to have the setter, but worst case scenario this will probably do the trick
