|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-09-09 21:50:19
----- Original Message -----
From: <williamkempf_at_[hidden]>
> Does one ever document an assert? Doesn't sound reasonable to me.
Not normally. But if you document that "in condition X, function f() throws
an exception", it had darned well better do that as opposed to, say,
printing a message and calling abort() (which is what assert will do)!
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk