Any way to automatically convert structs on return?

user1234 user1234 at 12.de
Thu Aug 1 09:55:08 UTC 2024


On Thursday, 1 August 2024 at 08:46:00 UTC, IchorDev wrote:
> [...]
> I’m pretty sure this is intentional to prevent ambiguity, but I 
> can’t quite remember what the point of that is.

The problem would be that sorting the candidates of an overload 
set would be more complicated. Also in certain cases it would be 
less obvious to get which one is selected.


More information about the Digitalmars-d-learn mailing list