Warning, file /include/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_MULTI_MODIFY_WITH_PREDICATE_HPP
0019 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_MULTI_MODIFY_WITH_PREDICATE_HPP
0020
0021
0022 #include <boost/range/begin.hpp>
0023 #include <boost/range/end.hpp>
0024
0025
0026 namespace boost { namespace geometry
0027 {
0028
0029
0030 #ifndef DOXYGEN_NO_DETAIL
0031 namespace detail
0032 {
0033
0034 template <typename MultiGeometry, typename Predicate, typename Policy>
0035 struct multi_modify_with_predicate
0036 {
0037 static inline void apply(MultiGeometry& multi, Predicate const& predicate)
0038 {
0039 for (auto it = boost::begin(multi); it != boost::end(multi); ++it)
0040 {
0041 Policy::apply(*it, predicate);
0042 }
0043 }
0044 };
0045
0046
0047 }
0048 #endif
0049
0050
0051 }}
0052
0053
0054 #endif