mirror of https://github.com/CGAL/cgal
Add note that CGAL::Filter_iterator and boost::filter_iterator have opposite semantics
This commit is contained in:
parent
5d6f22a974
commit
c1223ad0b5
|
|
@ -382,6 +382,11 @@
|
||||||
\ccc{Predicate} is true. The iterator category is the same as for
|
\ccc{Predicate} is true. The iterator category is the same as for
|
||||||
\ccc{Iterator}.
|
\ccc{Iterator}.
|
||||||
|
|
||||||
|
Note: Boost also provides the same functionality via the
|
||||||
|
\ccc{boost::filter_iterator} class. Unfortunately, the semantics
|
||||||
|
chosen for accepting or rejecting elements based on the predicate's
|
||||||
|
result are opposite as the semantic chosen here.
|
||||||
|
|
||||||
\ccInclude{CGAL/iterator.h}
|
\ccInclude{CGAL/iterator.h}
|
||||||
|
|
||||||
\ccRequirements
|
\ccRequirements
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue