Is there a strong reason for Nullable's alias get this?
FeepingCreature
feepingcreature at gmail.com
Mon Apr 16 10:10:56 UTC 2018
Addendum: The general principle is that a "narrowing conversion"
should never be implicit. An example of a narrowing conversion is
float to int, or int to short. In the case of integer types, D
already follows this rule.
Nullable!T to T is a narrowing conversion, since T cannot express
the null case. Therefor, it must not be implicit.
More information about the Digitalmars-d
mailing list