precedence of cast

torhu no at spam.invalid
Thu Aug 28 09:32:48 PDT 2008


Fawzi Mohamed wrote:
> I was wondering about the precedence of the cast operator.
> By experimenting I found that it is less than . and more than +, but I 
> was wondering if there isn't a place where this is exactly explained.
> A table with the precedence of all operators would be welcome :)

I just use a C operator precedence table, D follows that:

http://www.difranco.net/cop2220/op-prec.htm


More information about the Digitalmars-d-learn mailing list