|
Boost : |
From: p_michel_andre (michel.andre_at_[hidden])
Date: 2001-12-06 02:45:14
> I just looked at the code and saw:
>
> #if !defined(BOOST_MSVC)
> // Iterators >= ForwardIterator must produce real references
> // as required by the C++ standard requirements in Table 74.
> BOOST_STATIC_CONSTANT(bool, forward_iter_with_real_reference
> =
> (!
boost::is_convertible<iterator_category*,std::forward_iterator_tag*>::
valu
> e)
> ||
boost::is_same<reference,value_type&>::value
> || boost::is_same<reference,const
> value_type&>::value));
>
> // This check gives incorrect results in
iter_traits_gen_test.cpp
> BOOST_STATIC_ASSERT(forward_iter_with_real_reference);
> #endif
>
> So, are you certain you have an up-to-date version of the code?
I'm running 1.25.0.
/Michel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk