$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Is there interest in unit testing both passing and failing BOOST_MPL_ASSERTs?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-09-16 18:19:27
Ben Robinson <icaretaker <at> gmail.com> writes:
> produced that can be run in a unit test framework.  The key ingredient 
> of my idea, is to allow the code to compile by conditionally replacing 
> the failing static asserts with throwing a run-time exception.  Now the 
> code can compile, and unit tests can be written to confirm that each 
> assertion either passes or fails as desired.
As they say: I'll believe it, when I see it ;) Until that time this is 
all too much vapor for me. As I mention in other post, you never explained 
how this condition is checked and who is going to check it: compiler,
preprocessor, person.
Gennadiy