std.typecons rebindable + tuple with const class gives warning
Saurabh Das
saurabh.das at gmail.com
Wed Feb 17 10:07:46 UTC 2021
On Thursday, 4 February 2021 at 20:40:43 UTC, tsbockman wrote:
>
> TLDR; Either make `c` mutable, or override/overload the `C`
> associative array support methods `toHash` and `opEquals` to
> support `const(C)` objects.
This solved my issue. I finally understood why this was happening
after digging in to the tuple code and hence understood your
proposed solutions.
Thank you so much! :)
Saurabh
More information about the Digitalmars-d-learn
mailing list