|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-07-04 16:09:01
Goran Mitrovic <gmit_at_[hidden]> writes:
> Oh, crap, my implementation doesn't really work, but, I would like to know
> whether this idea is any good (to spend more time thinking on it)? :| Sorry.
And it invokes undefined behavior by using double underscores. I
suggest looking at some of the MPL diagnostic utilities, such as
BOOST_MPL_ASSERT_MSG
(http://www.boost.org/libs/mpl/doc/refmanual/assert-msg.html)
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk