mirror of https://github.com/CGAL/cgal
Add global workaround for the weird reverse_iterator in sunpro old stl.
This commit is contained in:
parent
dee70eec81
commit
ddd93e3626
|
|
@ -89,6 +89,18 @@ namespace CGAL {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef CGAL_CFG_SUNPRO_RWSTD
|
||||||
|
# define CGAL_reverse_iterator(T) std::reverse_iterator< T >
|
||||||
|
#else
|
||||||
|
# define CGAL_reverse_iterator(T) std::reverse_iterator< T , \
|
||||||
|
typename T::iterator_category , \
|
||||||
|
typename T::value_type , \
|
||||||
|
typename T::reference , \
|
||||||
|
typename T::pointer , \
|
||||||
|
typename T::difference_type >
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Big endian or little endian machine.
|
// Big endian or little endian machine.
|
||||||
// ====================================
|
// ====================================
|
||||||
#ifdef CGAL_CFG_NO_BIG_ENDIAN
|
#ifdef CGAL_CFG_NO_BIG_ENDIAN
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue