workaround for sunpro old stl, copied from vector.h.

This commit is contained in:
Marc Glisse 2006-02-22 16:00:53 +00:00
parent a92a0e4b49
commit 1b05f9442d
1 changed files with 17 additions and 0 deletions

View File

@ -215,8 +215,25 @@ public:
typedef CGALi::In_place_list_iterator<T, Alloc> iterator;
typedef CGALi::In_place_list_const_iterator<T, Alloc> const_iterator;
#if defined(__SUNPRO_CC) && defined(_RWSTD_NO_CLASS_PARTIAL_SPEC)
typedef std::reverse_iterator< 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)
typedef In_place_list<T,managed,Alloc> Self;