On Friday, 26 April 2013 at 21:32:32 UTC, Tove wrote:
On Friday, 26 April 2013 at 21:01:17 UTC, Brian Schott wrote:
On Friday, 26 April 2013 at 06:01:27 UTC, Walter Bright wrote:
Sometimes due to bad coding standards I´m forced to write...
if((.....long expression with not immediately apparent operator
precedence)!=0)
I assume you are doing C or C++. Under the preprocessor, why do
not #define a ifnonzero() and a ifzero() macro, if that bothers
you so much? (also works for testing against NULL).
In D, it is less possible to do so (curse of lacking
processor...). Or maybe it is and I am missing it.