precedence of cast

Ary Borenszweig ary at esperanto.org.ar
Thu Aug 28 09:57:36 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 :)
> 
> thanks
> Fawzi
> 

If you downloaded DMD, you can take a look at src\dmd\expression.c 
initPrecedences(). I don't paste it here because I don't know if I'm 
allowed to do so.


More information about the Digitalmars-d-learn mailing list