Target typed new expressions for D?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Fri Apr 30 16:26:30 UTC 2021


On Friday, 30 April 2021 at 16:20:13 UTC, sighoya wrote:
> Relates to the following:
>
> https://devblogs.microsoft.com/dotnet/welcome-to-c-9-0/#target-typed-new-expressions
>
> What do you think about?

I think it is kinda pointless, to be honest.

I would rather see overloading on return types, then you could 
infer template parameters based on the inferred return type, that 
would be very cool.



More information about the Digitalmars-d mailing list