Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80243 - trunk/boost/geometry/algorithms
From: bruno.lalande_at_[hidden]
Date: 2012-08-26 18:49:54


Author: bruno.lalande
Date: 2012-08-26 18:49:53 EDT (Sun, 26 Aug 2012)
New Revision: 80243
URL: http://svn.boost.org/trac/boost/changeset/80243

Log:
Integrated not_implemented into union.
Text files modified:
   trunk/boost/geometry/algorithms/union.hpp | 11 +++--------
   1 files changed, 3 insertions(+), 8 deletions(-)

Modified: trunk/boost/geometry/algorithms/union.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/union.hpp (original)
+++ trunk/boost/geometry/algorithms/union.hpp 2012-08-26 18:49:53 EDT (Sun, 26 Aug 2012)
@@ -16,6 +16,7 @@
 #include <boost/geometry/core/point_order.hpp>
 #include <boost/geometry/core/reverse_dispatch.hpp>
 #include <boost/geometry/geometries/concepts/check.hpp>
+#include <boost/geometry/algorithms/not_implemented.hpp>
 #include <boost/geometry/algorithms/detail/overlay/overlay.hpp>
 
 
@@ -40,14 +41,8 @@
     bool ReverseOut = detail::overlay::do_reverse<geometry::point_order<GeometryOut>::value>::value,
     bool Reverse = geometry::reverse_dispatch<Geometry1, Geometry2>::type::value
>
-struct union_insert
-{
- BOOST_MPL_ASSERT_MSG
- (
- false, NOT_OR_NOT_YET_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPES
- , (types<Geometry1, Geometry2, GeometryOut>)
- );
-};
+struct union_insert: not_implemented<TagIn1, TagIn2, TagOut>
+{};
 
 
 // If reversal is needed, perform it first


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