just an idea (!! operator)

Christophe Travert travert at phare.normalesup.org
Fri Jul 13 04:47:35 PDT 2012


"Jonas Drewsen" , dans le message (digitalmars.D:172242), a écrit :
> Can you identify any ambiguity with an ?. operator.

? could be the begining of a ternary operator, and . the module scope 
indicator, or the beginning of a (badly) written float number.

Both case can be disambiguated by the presence of the ':' in the case 
of a ternary operator.

I don't think '?' has currently any other meaning in D.


More information about the Digitalmars-d mailing list