fix Issue 11591 - std.typecons.Tuple -s with classes fails at runtime as associative array keys
Merge pull request #3054 from WalterBright/fix11591

Regression fix Issue 11591 - std.typecons.Tuple -s with classes fails at runtime as associative array keys