Why not all statement are expressions ?

deadalnix deadalnix at gmail.com
Wed May 9 05:09:23 PDT 2012


Le 07/05/2012 19:06, deadalnix a écrit :
> Hi,
>
> Working on D I noticed that some statement, notably assert, are
> expression of type void. Why not all statement (that are not expression
> already) are expression ?

I want to pop this question.

This is an important one. And nothing is documented about that.


More information about the Digitalmars-d mailing list