Adding the ?. null verification
Timon Gehr via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 19 12:50:15 PDT 2014
On 06/19/2014 06:58 PM, Yota wrote:
>
> Won't opDispatch here destroy any hope for statement completion in the
> future? I feel like D already has little hope for such tooling
> features, but this puts the final nail in the coffin.
auto opDispatch(string field)()
if(is(typeof(__traits(getMember, t, field)))) // <-- not a nail
More information about the Digitalmars-d
mailing list