Boost logo

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)!


Boost list run by bdawes at, gregod at, cpdaniel at, john at