diff options
Diffstat (limited to 'boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp')
-rw-r--r-- | boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp b/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp index 4ae79058da..1a82a67142 100644 --- a/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp +++ b/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp @@ -15,38 +15,7 @@ #define BOOST_GEOMETRY_MULTI_ALGORITHMS_DETAIL_MODIFY_WITH_PREDICATE_HPP -#include <boost/range.hpp> - - -namespace boost { namespace geometry -{ - - -#ifndef DOXYGEN_NO_DETAIL -namespace detail -{ - -template <typename MultiGeometry, typename Predicate, typename Policy> -struct multi_modify_with_predicate -{ - static inline void apply(MultiGeometry& multi, Predicate const& predicate) - { - typedef typename boost::range_iterator<MultiGeometry>::type iterator_type; - for (iterator_type it = boost::begin(multi); - it != boost::end(multi); - ++it) - { - Policy::apply(*it, predicate); - } - } -}; - - -} // namespace detail -#endif - - -}} // namespace boost::geometry +#include <boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp> #endif // BOOST_GEOMETRY_MULTI_ALGORITHMS_DETAIL_MODIFY_WITH_PREDICATE_HPP |