mirror of https://github.com/CGAL/cgal
Try to work around non-standard std::count in sunpro (not sure it will
work, check for instance in Min_annulus_d testsuite).
This commit is contained in:
parent
143f28e4bd
commit
325c956ba1
|
|
@ -99,6 +99,15 @@ namespace std {
|
|||
return n;
|
||||
}
|
||||
|
||||
template <class InputIterator, class T>
|
||||
inline typename iterator_traits<InputIterator>::difference_type
|
||||
count (InputIterator first, InputIterator last, const T& value)
|
||||
{
|
||||
typename iterator_traits<InputIterator>::difference_type result;
|
||||
count(first,last,value,result);
|
||||
return result;
|
||||
}
|
||||
|
||||
} // namespace std
|
||||
|
||||
namespace CGAL {
|
||||
|
|
|
|||
Loading…
Reference in New Issue