diff --git a/Installation/include/CGAL/Sun_fixes.h b/Installation/include/CGAL/Sun_fixes.h index 4ffc8dd665d..31db4c2db14 100644 --- a/Installation/include/CGAL/Sun_fixes.h +++ b/Installation/include/CGAL/Sun_fixes.h @@ -108,6 +108,15 @@ namespace std { return result; } + template + inline typename iterator_traits::difference_type + count_if (InputIterator first, InputIterator last, Predicate pred) + { + typename iterator_traits::difference_type result; + count_if(first,last,pred,result); + return result; + } + template < class T > inline typename T::value_type* __value_type (const T&)