Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70060 - in trunk/boost/geometry: algorithms algorithms/detail algorithms/detail/equals algorithms/detail/overlay algorithms/detail/sections domains/gis/io/wkt extensions/algorithms extensions/algorithms/buffer extensions/algorithms/detail/overlay extensions/gis/io/shapelib extensions/io/svg multi/algorithms multi/algorithms/detail util
From: barend.gehrels_at_[hidden]
Date: 2011-03-17 10:02:05


Author: barendgehrels
Date: 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
New Revision: 70060
URL: http://svn.boost.org/trac/boost/changeset/70060

Log:
Changed BOOST_AUTO to BOOST_AUTO_TPL for pgi 11.2
Text files modified:
   trunk/boost/geometry/algorithms/centroid.hpp | 2 +-
   trunk/boost/geometry/algorithms/correct.hpp | 6 +++---
   trunk/boost/geometry/algorithms/detail/calculate_sum.hpp | 2 +-
   trunk/boost/geometry/algorithms/detail/equals/collect_vectors.hpp | 2 +-
   trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp | 6 +++---
   trunk/boost/geometry/algorithms/detail/overlay/select_rings.hpp | 12 ++++++------
   trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp | 4 ++--
   trunk/boost/geometry/algorithms/distance.hpp | 2 +-
   trunk/boost/geometry/algorithms/for_each.hpp | 8 ++++----
   trunk/boost/geometry/algorithms/num_points.hpp | 2 +-
   trunk/boost/geometry/algorithms/reverse.hpp | 2 +-
   trunk/boost/geometry/algorithms/simplify.hpp | 4 ++--
   trunk/boost/geometry/algorithms/transform.hpp | 6 +++---
   trunk/boost/geometry/algorithms/unique.hpp | 2 +-
   trunk/boost/geometry/algorithms/within.hpp | 2 +-
   trunk/boost/geometry/domains/gis/io/wkt/write_wkt.hpp | 2 +-
   trunk/boost/geometry/extensions/algorithms/buffer/polygon_buffer.hpp | 2 +-
   trunk/boost/geometry/extensions/algorithms/detail/overlay/split_rings.hpp | 4 ++--
   trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp | 2 +-
   trunk/boost/geometry/extensions/algorithms/remove_marked.hpp | 12 ++++++------
   trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp | 2 +-
   trunk/boost/geometry/extensions/gis/io/shapelib/shp_create_object.hpp | 2 +-
   trunk/boost/geometry/extensions/io/svg/write_svg.hpp | 4 ++--
   trunk/boost/geometry/multi/algorithms/detail/for_each_range.hpp | 2 +-
   trunk/boost/geometry/multi/algorithms/for_each.hpp | 2 +-
   trunk/boost/geometry/util/write_dsv.hpp | 2 +-
   26 files changed, 49 insertions(+), 49 deletions(-)

Modified: trunk/boost/geometry/algorithms/centroid.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/centroid.hpp (original)
+++ trunk/boost/geometry/algorithms/centroid.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -281,7 +281,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             per_ring::apply(*it, strategy, state);
         }

Modified: trunk/boost/geometry/algorithms/correct.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/correct.hpp (original)
+++ trunk/boost/geometry/algorithms/correct.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -167,7 +167,7 @@
 
         typename interior_return_type<Polygon>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             correct_ring
                 <
@@ -221,8 +221,8 @@
 struct correct<ring_tag, Ring>
     : detail::correct::correct_ring
         <
- Ring,
- std::less<typename coordinate_type<Ring>::type>
+ Ring,
+ std::less<typename coordinate_type<Ring>::type>
>
 {};
 

Modified: trunk/boost/geometry/algorithms/detail/calculate_sum.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/calculate_sum.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/calculate_sum.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -33,7 +33,7 @@
     static inline ReturnType sum_interior_rings(Rings const& rings, Strategy const& strategy)
     {
         ReturnType sum = ReturnType();
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             sum += Policy::apply(*it, strategy);
         }

Modified: trunk/boost/geometry/algorithms/detail/equals/collect_vectors.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/equals/collect_vectors.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/equals/collect_vectors.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -183,7 +183,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             per_range::apply(collection, *it);
         }

Modified: trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/overlay/get_turns.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -355,8 +355,8 @@
     Turns& m_turns;
     InterruptPolicy& m_interrupt_policy;
 
- section_visitor(int id1, Geometry1 const& g1,
- int id2, Geometry2 const& g2,
+ section_visitor(int id1, Geometry1 const& g1,
+ int id2, Geometry2 const& g2,
             Turns& turns, InterruptPolicy& ip)
         : m_source_id1(id1), m_geometry1(g1)
         , m_source_id2(id2), m_geometry2(g2)
@@ -637,7 +637,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings);
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings);
             ++it, ++i)
         {
             intersector_type::apply(

Modified: trunk/boost/geometry/algorithms/detail/overlay/select_rings.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/overlay/select_rings.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/overlay/select_rings.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -87,7 +87,7 @@
 
             typename interior_return_type<Polygon const>::type rings
                         = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
             {
                 id.ring_index++;
                 per_ring::apply(*it, geometry, id, map);
@@ -104,7 +104,7 @@
 
             typename interior_return_type<Polygon const>::type rings
                         = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
             {
                 id.ring_index++;
                 per_ring::apply(*it, id, map);
@@ -173,13 +173,13 @@
     overlay_type OverlayType,
     typename IntersectionMap, typename SelectionMap
>
-inline void update_selection_map(IntersectionMap const& intersection_map,
+inline void update_selection_map(IntersectionMap const& intersection_map,
             SelectionMap const& map_with_all, SelectionMap& selection_map)
 {
     selection_map.clear();
 
- for (typename SelectionMap::const_iterator it = boost::begin(map_with_all);
- it != boost::end(map_with_all);
+ for (typename SelectionMap::const_iterator it = boost::begin(map_with_all);
+ it != boost::end(map_with_all);
         ++it)
     {
         /*
@@ -234,7 +234,7 @@
 template
 <
     overlay_type OverlayType,
- typename Geometry,
+ typename Geometry,
     typename IntersectionMap, typename SelectionMap
>
 inline void select_rings(Geometry const& geometry,

Modified: trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -359,7 +359,7 @@
             Reverse ? iterate_reverse : iterate_forward
>::type view_type;
 
- static inline void apply(Range const& range, Sections& sections,
+ static inline void apply(Range const& range, Sections& sections,
                 ring_identifier ring_id)
     {
         typedef model::referring_segment<Point const> segment_type;
@@ -428,7 +428,7 @@
         ring_id.ring_index++;
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings);
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings);
              ++it, ++ring_id.ring_index)
         {
             sectionalizer_type::apply(*it, sections, ring_id);

Modified: trunk/boost/geometry/algorithms/distance.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/distance.hpp (original)
+++ trunk/boost/geometry/algorithms/distance.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -211,7 +211,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             distance_containment dcr = per_ring::apply(point,
                             *it, pp_strategy, ps_strategy);

Modified: trunk/boost/geometry/algorithms/for_each.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/for_each.hpp (original)
+++ trunk/boost/geometry/algorithms/for_each.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -82,8 +82,8 @@
                 typename point_type<Range>::type
>::type point_type;
 
- BOOST_AUTO(it, boost::begin(range));
- BOOST_AUTO(previous, it++);
+ BOOST_AUTO_TPL(it, boost::begin(range));
+ BOOST_AUTO_TPL(previous, it++);
         while(it != boost::end(range))
         {
             model::referring_segment<point_type> s(*previous, *it);
@@ -114,7 +114,7 @@
 
         typename interior_return_type<poly_type>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             f = per_ring::apply(*it, f);
         }
@@ -143,7 +143,7 @@
 
         typename interior_return_type<poly_type>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             f = per_ring::apply(*it, f);
         }

Modified: trunk/boost/geometry/algorithms/num_points.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/num_points.hpp (original)
+++ trunk/boost/geometry/algorithms/num_points.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -77,7 +77,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             n += range_count<ring_type>::apply(*it, add_for_open);
         }

Modified: trunk/boost/geometry/algorithms/reverse.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/reverse.hpp (original)
+++ trunk/boost/geometry/algorithms/reverse.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -48,7 +48,7 @@
 
         typename interior_return_type<Polygon>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             per_range::apply(*it);
         }

Modified: trunk/boost/geometry/algorithms/simplify.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/simplify.hpp (original)
+++ trunk/boost/geometry/algorithms/simplify.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -144,8 +144,8 @@
                     = interior_rings(poly_in);
         typename interior_return_type<Polygon>::type rings_out
                     = interior_rings(poly_out);
- BOOST_AUTO(it_out, boost::begin(rings_out));
- for (BOOST_AUTO(it_in, boost::begin(rings_in));
+ BOOST_AUTO_TPL(it_out, boost::begin(rings_out));
+ for (BOOST_AUTO_TPL(it_in, boost::begin(rings_in));
             it_in != boost::end(rings_in);
             ++it_in, ++it_out)
         {

Modified: trunk/boost/geometry/algorithms/transform.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/transform.hpp (original)
+++ trunk/boost/geometry/algorithms/transform.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -100,7 +100,7 @@
         assign_point_from_index<1>(source, source_point[1]);
 
         point_type2 target_point[2];
- if (strategy.apply(source_point[0], target_point[0])
+ if (strategy.apply(source_point[0], target_point[0])
             && strategy.apply(source_point[1], target_point[1]))
         {
             assign_point_to_index<0>(target_point[0], target);
@@ -174,8 +174,8 @@
                     = interior_rings(poly1);
         typename interior_return_type<Polygon2>::type rings2
                     = interior_rings(poly2);
- BOOST_AUTO(it1, boost::begin(rings1));
- BOOST_AUTO(it2, boost::begin(rings2));
+ BOOST_AUTO_TPL(it1, boost::begin(rings1));
+ BOOST_AUTO_TPL(it2, boost::begin(rings2));
         for ( ; it1 != boost::end(interior_rings(poly1)); ++it1, ++it2)
         {
             if (!transform_range_out<point2_type>(*it1,

Modified: trunk/boost/geometry/algorithms/unique.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/unique.hpp (original)
+++ trunk/boost/geometry/algorithms/unique.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -58,7 +58,7 @@
 
         typename interior_return_type<Polygon>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             per_range::apply(*it, policy);
         }

Modified: trunk/boost/geometry/algorithms/within.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/within.hpp (original)
+++ trunk/boost/geometry/algorithms/within.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -219,7 +219,7 @@
         {
             typename interior_return_type<Polygon const>::type rings
                         = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings));
+ for (BOOST_AUTO_TPL(it, boost::begin(rings));
                 it != boost::end(rings);
                 ++it)
             {

Modified: trunk/boost/geometry/domains/gis/io/wkt/write_wkt.hpp
==============================================================================
--- trunk/boost/geometry/domains/gis/io/wkt/write_wkt.hpp (original)
+++ trunk/boost/geometry/domains/gis/io/wkt/write_wkt.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -171,7 +171,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             os << ",";
             wkt_sequence<ring>::apply(os, *it);

Modified: trunk/boost/geometry/extensions/algorithms/buffer/polygon_buffer.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/buffer/polygon_buffer.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/buffer/polygon_buffer.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -206,7 +206,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings); it != boost::end(rings); ++it)
         {
             output_ring_type ring;
             policy::apply(*it, ring, distance, join_strategy

Modified: trunk/boost/geometry/extensions/algorithms/detail/overlay/split_rings.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/detail/overlay/split_rings.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/detail/overlay/split_rings.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -186,7 +186,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
 #ifdef BOOST_GEOMETRY_DEBUG_SPLIT_RINGS
 std::cout << geometry::wkt(*it)
@@ -494,7 +494,7 @@
     static inline void apply(Polygon const& polygon, RingCollection& ring_collection)
     {
         per_ring::apply(exterior_ring(polygon), ring_collection);
- for (BOOST_AUTO(it, boost::begin(interior_rings(polygon)));
+ for (BOOST_AUTO_TPL(it, boost::begin(interior_rings(polygon)));
              it != boost::end(interior_rings(polygon));
              ++it)
         {

Modified: trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -363,7 +363,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             // Interior ring (zero based)
             id.ring_index++;

Modified: trunk/boost/geometry/extensions/algorithms/remove_marked.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/remove_marked.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/remove_marked.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -46,7 +46,7 @@
     typedef typename coordinate_type<Range>::type coordinate_type;
 
 
- static inline void apply(Range const& range_in, ring_identifier id,
+ static inline void apply(Range const& range_in, ring_identifier id,
                     Range& range_out, MarkMap const& mark_map)
     {
         typename MarkMap::const_iterator mit = mark_map.find(id);
@@ -82,7 +82,7 @@
 template <typename Polygon, typename MarkMap>
 struct polygon_remove_marked
 {
- static inline void apply(Polygon const& polygon_in, ring_identifier id,
+ static inline void apply(Polygon const& polygon_in, ring_identifier id,
                 Polygon& polygon_out, MarkMap const& mark_map)
     {
         typedef typename geometry::ring_type<Polygon>::type ring_type;
@@ -98,10 +98,10 @@
                     = interior_rings(polygon_out);
 
         rings_out.resize(boost::size(interior_rings(polygon_in)));
- BOOST_AUTO(out, boost::begin(rings_out));
+ BOOST_AUTO_TPL(out, boost::begin(rings_out));
 
- for (BOOST_AUTO(it, boost::begin(rings_in));
- it != boost::end(rings_in);
+ for (BOOST_AUTO_TPL(it, boost::begin(rings_in));
+ it != boost::end(rings_in);
             ++it, ++out)
         {
             id.ring_index++;
@@ -114,7 +114,7 @@
 template <typename MultiGeometry, typename MarkMap, typename SinglePolicy>
 struct multi_remove_marked
 {
- static inline void apply(MultiGeometry const& multi_in, ring_identifier id,
+ static inline void apply(MultiGeometry const& multi_in, ring_identifier id,
                 MultiGeometry& multi_out, MarkMap const& mark_map)
     {
         id.multi_index = 0;

Modified: trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -132,7 +132,7 @@
 
         typename interior_return_type<Polygon>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             per_range::apply(*it, policy);
         }

Modified: trunk/boost/geometry/extensions/gis/io/shapelib/shp_create_object.hpp
==============================================================================
--- trunk/boost/geometry/extensions/gis/io/shapelib/shp_create_object.hpp (original)
+++ trunk/boost/geometry/extensions/gis/io/shapelib/shp_create_object.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -103,7 +103,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(polygon);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             parts[ring++] = offset;
             offset = range_to_part(*it, xp, yp, offset);

Modified: trunk/boost/geometry/extensions/io/svg/write_svg.hpp
==============================================================================
--- trunk/boost/geometry/extensions/io/svg/write_svg.hpp (original)
+++ trunk/boost/geometry/extensions/io/svg/write_svg.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -134,11 +134,11 @@
         {
             typename interior_return_type<Polygon const>::type rings
                         = interior_rings(polygon);
- for (BOOST_AUTO(rit, boost::begin(rings));
+ for (BOOST_AUTO_TPL(rit, boost::begin(rings));
                 rit != boost::end(rings); ++rit)
             {
                 first = true;
- for (BOOST_AUTO(it, boost::begin(*rit)); it != boost::end(*rit);
+ for (BOOST_AUTO_TPL(it, boost::begin(*rit)); it != boost::end(*rit);
                     ++it, first = false)
                 {
                     os << (first ? "M" : " L") << " "

Modified: trunk/boost/geometry/multi/algorithms/detail/for_each_range.hpp
==============================================================================
--- trunk/boost/geometry/multi/algorithms/detail/for_each_range.hpp (original)
+++ trunk/boost/geometry/multi/algorithms/detail/for_each_range.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -34,7 +34,7 @@
                     typename add_const_if_c<IsConst, Multi>::type& multi,
                     Actor& actor)
     {
- for(BOOST_AUTO(it, boost::begin(multi)); it != boost::end(multi); ++it)
+ for(BOOST_AUTO_TPL(it, boost::begin(multi)); it != boost::end(multi); ++it)
         {
             geometry::detail::for_each_range(*it, actor);
         }

Modified: trunk/boost/geometry/multi/algorithms/for_each.hpp
==============================================================================
--- trunk/boost/geometry/multi/algorithms/for_each.hpp (original)
+++ trunk/boost/geometry/multi/algorithms/for_each.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -43,7 +43,7 @@
                     typename add_const_if_c<IsConst, MultiGeometry>::type& multi,
                     Functor f)
     {
- for(BOOST_AUTO(it, boost::begin(multi)); it != boost::end(multi); ++it)
+ for(BOOST_AUTO_TPL(it, boost::begin(multi)); it != boost::end(multi); ++it)
         {
             f = Policy::apply(*it, f);
         }

Modified: trunk/boost/geometry/util/write_dsv.hpp
==============================================================================
--- trunk/boost/geometry/util/write_dsv.hpp (original)
+++ trunk/boost/geometry/util/write_dsv.hpp 2011-03-17 10:02:01 EDT (Thu, 17 Mar 2011)
@@ -214,7 +214,7 @@
 
         typename interior_return_type<Polygon const>::type rings
                     = interior_rings(poly);
- for (BOOST_AUTO(it, boost::begin(rings)); it != boost::end(rings); ++it)
+ for (BOOST_AUTO_TPL(it, boost::begin(rings)); it != boost::end(rings); ++it)
         {
             os << settings.list_separator;
             dsv_range<ring>::apply(os, *it, settings);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk