Multiple alias this, what's the hold up?

user1234 user1234 at 12.de
Mon Jun 17 17:39:54 UTC 2019


On Monday, 17 June 2019 at 16:27:59 UTC, rikki cattermole wrote:
> On 18/06/2019 4:18 AM, user1234 wrote:
>> It looks very much like "opCast" actually and a better named  
>> is "opImplicitConv"
>> because right now the error message for Mike's little example 
>> says "cannot impliclty convert...".
>
> I thought about opCast as well, and it does look like it. But 
> its not opCast.
>
> With regards to implicit casting, I don't think it is it.
> Implicit casting would be used in many more situations (e.g. 
> return statements and function arguments).
> There is quite some push back against those use cases.

Semantics to call this possibly new operator must be well defined 
-> DIP


More information about the Digitalmars-d mailing list