Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-18 08:56:51


"Thorsten Ottosen" <nesotto_at_[hidden]> writes:

D> | Obviously, neither of these assertions should fail, but the second one does.
> | I'm guessing that this is a problem with boost::iterator_value.
>
> well, the problem is with vc7.
>
> |Does anyone
> | know how to fix this?
>
> look at the documentation at http://www.boost.org/libs/iterator/doc/iterator_traits.html and apply
>
> BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION( foo );

Right. The assertion is not in fact failing until after another error
occurs, and you should see some mention of
BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION in that error
message.

-- 
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