|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2000-08-30 12:53:31
----- Original Message -----
From: "Beman Dawes" <beman_at_[hidden]>
> First, to workaround VC++ broken std::reverse_iterator:
>
> // reverse iterator support
> # if !defined(BOOST_MSVC) || BOOST_MSVC > 1200 // 1200 == VC++ 6.0
> typedef std::reverse_iterator<iterator> reverse_iterator;
> typedef std::reverse_iterator<const_iterator>
> const_reverse_iterator;
> # else
> // workaround for broken VC++ reverse_iterator implementation
> typedef std::reverse_iterator<iterator,T> reverse_iterator;
> typedef std::reverse_iterator<const_iterator,T>
> const_reverse_iterator;
> # endif
I think these fixes probably don't apply if using the STLport.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk