The new ?? and ??? operators

Janice Caron caron800 at googlemail.com
Tue Sep 25 04:24:19 PDT 2007


Of course, the /easy/ way to do this is to have GetLong return a long
*, and then do

long * temp;
long id = (temp = data.getLong("ID")) ? *temp : 0;



More information about the Digitalmars-d mailing list