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:
Marc Glisse 2007-04-22 15:23:03 +00:00
parent 98125eac02
commit 21f295dc3d
1 changed files with 1 additions and 19 deletions

View File

@ -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