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