reasoning of evaluating code after return in current block (static if return)

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Mon May 8 07:20:19 PDT 2017


On Sunday, 7 May 2017 at 23:41:00 UTC, bastien penavayre wrote:
> On Sunday, 7 May 2017 at 23:20:26 UTC, Adam D. Ruppe wrote:
>> [...]
>
> I just realized that I accidentally posted this while editing.
> I agree with you on that this is barely different from just 
> adding "else".
>
> [...]

compile your code with the -vcg-ast switch and look at the .cg 
output.


More information about the Digitalmars-d mailing list