Try new version of sunpro reverse_iterator workaround.

This commit is contained in:
Marc Glisse 2006-02-25 00:14:28 +00:00
parent ddd93e3626
commit 733a96b81c
1 changed files with 2 additions and 19 deletions

View File

@ -154,25 +154,8 @@ public:
const_iterator; const_iterator;
typedef vector< T, Alloc> Self; typedef vector< T, Alloc> Self;
#if defined(__SUNPRO_CC) && defined(_RWSTD_NO_CLASS_PARTIAL_SPEC) typedef CGAL_reverse_iterator(iterator) reverse_iterator;
typedef std::reverse_iterator< iterator, typedef CGAL_reverse_iterator(const_iterator) const_reverse_iterator;
typename iterator::iterator_category,
typename iterator::value_type,
typename iterator::reference,
typename iterator::pointer,
typename iterator::difference_type
> reverse_iterator;
typedef std::reverse_iterator< const_iterator,
typename const_iterator::iterator_category,
typename const_iterator::value_type,
typename const_iterator::reference,
typename const_iterator::pointer,
typename const_iterator::difference_type
> const_reverse_iterator;
#else
typedef std::reverse_iterator< iterator > reverse_iterator;
typedef std::reverse_iterator< const_iterator > const_reverse_iterator;
#endif // defined(__SUNPRO_CC) && defined(_RWSTD_NO_CLASS_PARTIAL_SPEC)
protected: protected:
#ifndef _MSC_VER #ifndef _MSC_VER