Subject: Re: [boost] Unittest capability for meta-programs feedback request
From: Ben Robinson (icaretaker_at_[hidden])
Date: 2011-09-27 23:42:13
On Tue, Sep 27, 2011 at 11:09 AM, Dave Abrahams <dave_at_[hidden]> wrote:
> on Tue Sep 27 2011, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
> > Dave Abrahams <dave <at> boostpro.com> writes:
> > Now if you can come up with another approach to test these
> > expectations I'd be happy to listen.
> We already have an approach; it requires integration with the test
> system. Yes, it's imperfect, but it does do the kind of testing needed
> to see that MyComponent<int> is prohibited.
> Can you elaborate on this in greater detail? Currently, if I want to prove
a static assertion fails, my admittedly cumbersome technique is to uncomment
the test for that condition, compile to produce the error, then re-comment
out the test. This becomes very tedious for large numbers of regression
Ben Robinson, Ph.D.
-- > Dave Abrahams > BoostPro Computing > http://www.boostpro.com > > > _______________________________________________ > Unsubscribe & other changes: > http://lists.boost.org/mailman/listinfo.cgi/boost >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk