mirror of https://github.com/CGAL/cgal
I don't understand why that code was in namespace CGAL. This patch lets
Circulators compile with the old STL. I'll see if it breaks anything else, but I don't think it will.
This commit is contained in:
parent
98125eac02
commit
21f295dc3d
|
|
@ -108,10 +108,6 @@ namespace std {
|
|||
return result;
|
||||
}
|
||||
|
||||
} // namespace std
|
||||
|
||||
namespace CGAL {
|
||||
|
||||
template < class T >
|
||||
inline typename T::value_type*
|
||||
__value_type (const T&)
|
||||
|
|
@ -130,21 +126,7 @@ namespace CGAL {
|
|||
return tmp;
|
||||
}
|
||||
|
||||
template < class T >
|
||||
inline T* __value_type(T*)
|
||||
{ return (T*)(0); }
|
||||
|
||||
template <class T>
|
||||
inline std::ptrdiff_t*
|
||||
__distance_type (T*)
|
||||
{ return (std::ptrdiff_t*)(0); }
|
||||
|
||||
template <class T>
|
||||
inline std::random_access_iterator_tag
|
||||
__iterator_category (T*)
|
||||
{ return std::random_access_iterator_tag(); }
|
||||
|
||||
} // namespace CGAL
|
||||
} // namespace std
|
||||
|
||||
#endif // CGAL_CFG_SUNPRO_RWSTD
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue