mirror of https://github.com/CGAL/cgal
Same workaround for std::count_if as for std::count.
This commit is contained in:
parent
2dbf6e8a03
commit
f05f30e457
|
|
@ -108,6 +108,15 @@ namespace std {
|
|||
return result;
|
||||
}
|
||||
|
||||
template <class InputIterator, class Predicate>
|
||||
inline typename iterator_traits<InputIterator>::difference_type
|
||||
count_if (InputIterator first, InputIterator last, Predicate pred)
|
||||
{
|
||||
typename iterator_traits<InputIterator>::difference_type result;
|
||||
count_if(first,last,pred,result);
|
||||
return result;
|
||||
}
|
||||
|
||||
template < class T >
|
||||
inline typename T::value_type*
|
||||
__value_type (const T&)
|
||||
|
|
|
|||
Loading…
Reference in New Issue