Gennaro Prota <[EMAIL PROTECTED]> writes:

> Hi,
>
> due to the reasons we all know, the old VC6 lib requires at least two
> arguments for std::reverse_iterator (the iterator and the
> corresponding value_type) instead of one. In fact the definition is:
>
>
> template<class _RI,
>       class _Ty,
>       class _Rt = _Ty&,
>       class _Pt = _Ty *,
>       class _D = ptrdiff_t>
>       class reverse_iterator : public _Ranit<_Ty, _D> {
> public:
>       typedef reverse_iterator<_RI, _Ty, _Rt, _Pt, _D> _Myt;
>       typedef _RI iter_type;
>       typedef _Rt reference_type;
>       typedef _Pt pointer_type;
>         ....
>
>
> Before trying my own one, does boost have already a workaround for
> this? What I need is the classical
>
>  typedef std::reverse_iterator<iterator> reverse_iterator;
>  typedef std::reverse_iterator<const_iterator> const_reverse_iterator;

We have one in the iterator adaptors library.

-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to