Boost logo

Boost :

Subject: Re: [boost] suggestion on assertion macros
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2010-03-13 14:34:47


On Sat, Mar 13, 2010 at 2:43 AM, Andrzej Krzemienski <akrzemi1_at_[hidden]> wrote:
> This is a good addition to assertions, but once we decide that we are
> improving assertions, there is much more that needs an improvement.
> Most of them are listed in the thread on Contract++ library (proposed
> for Boost) that you are already referring to. But let me list the
> potential improvements here.

Why don't we leave assertions alone? Anything you do to "improve" them
makes them more tolerable which makes them something other than
assertions.

Assertions should print a message and exit. OK a smack to the head
would also be an improvement but that's about as far as I'd go. :)

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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