What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from 2012-05-08 04:12:12 PDT ---
(In reply to comment #0)
> Calling impure functions in the second parameter of an assert statement within
> the body of a pure pure is an error, even in release mode.

This is good.

> Idem for static asserts.

For static arrays I think it will be OK to call impure functions in the message

>     assert(value <= 10, text(value, " is greater than ", 10)); // Error: pure
> function 'foo' cannot call impure function 'text'

The solution is to have a pure text(), not to compromise on purity.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to