Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78819 - trunk/boost/geometry/multi/algorithms
From: bruno.lalande_at_[hidden]
Date: 2012-06-05 15:42:08


Author: bruno.lalande
Date: 2012-06-05 15:42:07 EDT (Tue, 05 Jun 2012)
New Revision: 78819
URL: http://svn.boost.org/trac/boost/changeset/78819

Log:
Adapted multi specializations of dispatch::equals to last changes.
Text files modified:
   trunk/boost/geometry/multi/algorithms/equals.hpp | 26 ++++++++++----------------
   1 files changed, 10 insertions(+), 16 deletions(-)

Modified: trunk/boost/geometry/multi/algorithms/equals.hpp
==============================================================================
--- trunk/boost/geometry/multi/algorithms/equals.hpp (original)
+++ trunk/boost/geometry/multi/algorithms/equals.hpp 2012-06-05 15:42:07 EDT (Tue, 05 Jun 2012)
@@ -29,33 +29,27 @@
 {
 
 
-template <typename MultiPolygon1, typename MultiPolygon2>
+template <typename MultiPolygon1, typename MultiPolygon2, bool Reverse>
 struct equals
     <
- multi_polygon_tag, multi_polygon_tag,
         MultiPolygon1, MultiPolygon2,
- 2
+ multi_polygon_tag, multi_polygon_tag,
+ 2,
+ Reverse
>
- : detail::equals::equals_by_collection
- <
- MultiPolygon1, MultiPolygon2,
- detail::equals::area_check
- >
+ : detail::equals::equals_by_collection<detail::equals::area_check>
 {};
 
 
-template <typename Polygon, typename MultiPolygon>
+template <typename Polygon, typename MultiPolygon, bool Reverse>
 struct equals
     <
- polygon_tag, multi_polygon_tag,
         Polygon, MultiPolygon,
- 2
+ polygon_tag, multi_polygon_tag,
+ 2,
+ Reverse
>
- : detail::equals::equals_by_collection
- <
- Polygon, MultiPolygon,
- detail::equals::area_check
- >
+ : detail::equals::equals_by_collection<detail::equals::area_check>
 {};
 
 


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