Implicit Casting

Ali Çehreli acehreli at yahoo.com
Tue Feb 6 23:38:38 UTC 2018


On 02/06/2018 01:35 PM, Jonathan wrote:

 > But what I really want it to do is to implicitly cast an `int[2]` to a
 > `Pos`.
 >
 > Is this possible in D?

Simply, no. :)

Ali



More information about the Digitalmars-d-learn mailing list