Implicit Conversions in Struct Construction

bearophile bearophileHUGS at lycos.com
Fri Oct 19 01:59:07 PDT 2012


Jonathan M Davis:

> Except that that won't work for int or other built-in types, 
> because they lack constructors.

Isn't it possible to modify D and add constructors to built-in 
types?

int(10)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list