On Thu, 17 Mar 2011 03:03:23 +0100, Daniel Gibson <metalcae...@gmail.com> wrote:

You're right. I just realized it and wanted to reply that correction to myself but you were faster :)
I agree, that *is* helpful.
A side note: The documentation says the value is returned if it's "non-zero". enforce() also throws on null (for classes, probably also for pointers) and false (for bool..) - this should probably be mentioned in the docs ;-)

null and false are also zero. :p


--
Simen

Reply via email to