|
Boost : |
From: Kevlin Henney (Kevlin.Henney_at_[hidden])
Date: 1999-09-01 03:43:09
Greg Colvin wrote:
[...]
Anyway, I prefer the string to be an optional second argument:
assertion (x ? t(3) : 3434==i+j, "must fobnicate before we tweak");
Yup. This approach can also be extended to deal w/ exception
parameterisation:
assertion(x ? t(3) : 3434==i+j, logic_error("must fobnicate before we
tweak"));
Kevlin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk