Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-30 09:22:19


"DY, JERRY U \(SBCSI\)" <jd2419_at_[hidden]> writes:

> Sorry. This is the correct version of the new static assertion.
>
> // workaround for aC++ CR JAGaf33512
> # define BOOST_ITERATOR_ADAPTOR_ASSERT_TRAVERSAL(cat) \
> iterator_adaptor_assert_traversal<my_traversal, cat>();
> // typedef int
> assertion[sizeof(detail::static_assert_convertible_to<cat>(my_traversal(
> )))];
>
> -Jerry

Please post a patch as an attachment. I don't know how to evaluate
this otherwise (especially not during my vacation ;->).

-- 
Dave Abrahams
Boost Consulting
http://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