Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-06-20 04:38:17


"John Torjo" <john.lists_at_[hidden]> wrote in message
news:00ef01c33687$02720ea0$01211bac_at_PEOPLEFIRST...
> Hi all,
>
> I was just thinking (actually, I needed this, while doing some coding),
that
> STATIC_ASSERT could get a little of the SMART_ASSERT flavour.
>
> What am I talking about?
> In case a STATIC_ASSERT fails, how about dumping some data that was
involved
> in the expression?
>
SMART_ASSERT is very useful to provide context information for hard to
reproduce errors. STATIC_ASSERT error can be reproduced reliably during
every compilation.

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk