Musings on infinite loops and not reachable returns

bearophile bearophileHUGS at lycos.com
Tue Mar 25 14:28:17 PDT 2014


anonymous:

> When you know that it won't be reached, you can (should?) put
> assert(false) instead of a return.

Yes, right, I use assert(false) in those cases :-)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list