|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78841 - trunk/boost/geometry/algorithms
From: bruno.lalande_at_[hidden]
Date: 2012-06-06 18:54:39
Author: bruno.lalande
Date: 2012-06-06 18:54:39 EDT (Wed, 06 Jun 2012)
New Revision: 78841
URL: http://svn.boost.org/trac/boost/changeset/78841
Log:
Used not_implemented on 'overlaps' algorithm.
Text files modified:
trunk/boost/geometry/algorithms/overlaps.hpp | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
Modified: trunk/boost/geometry/algorithms/overlaps.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/overlaps.hpp (original)
+++ trunk/boost/geometry/algorithms/overlaps.hpp 2012-06-06 18:54:39 EDT (Wed, 06 Jun 2012)
@@ -17,10 +17,10 @@
#include <cstddef>
-#include <boost/mpl/assert.hpp>
-
#include <boost/geometry/core/access.hpp>
+#include <boost/geometry/algorithms/not_implemented.hpp>
+
#include <boost/geometry/geometries/concepts/check.hpp>
namespace boost { namespace geometry
@@ -143,14 +143,8 @@
typename Tag1 = typename tag<Geometry1>::type,
typename Tag2 = typename tag<Geometry2>::type
>
-struct overlaps
-{
- BOOST_MPL_ASSERT_MSG
- (
- false, NOT_OR_NOT_YET_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPE
- , (types<Geometry1, Geometry2>)
- );
-};
+struct overlaps: not_implemented<Tag1, Tag2>
+{};
template <typename Box1, typename Box2>
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