qwerty:
> For a function without any side effects, it shouldn't be a problem.. I think 
> :)

Ignoring the return value of a function without side effects (in D2 pure 
functions or nothrow pure functions) has to be an error. I even have a bug 
report for this, because it's the same situation as an expression like:
a + 5;
that the compiler sees as an error.

Bye,
bearophile

Reply via email to