|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78824 - trunk/boost/geometry/algorithms
From: bruno.lalande_at_[hidden]
Date: 2012-06-05 17:21:42
Author: bruno.lalande
Date: 2012-06-05 17:21:41 EDT (Tue, 05 Jun 2012)
New Revision: 78824
URL: http://svn.boost.org/trac/boost/changeset/78824
Log:
Applied not_implemented to expand algorithm.
Text files modified:
trunk/boost/geometry/algorithms/expand.hpp | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
Modified: trunk/boost/geometry/algorithms/expand.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/expand.hpp (original)
+++ trunk/boost/geometry/algorithms/expand.hpp 2012-06-05 17:21:41 EDT (Tue, 05 Jun 2012)
@@ -19,6 +19,7 @@
#include <boost/numeric/conversion/cast.hpp>
+#include <boost/geometry/algorithms/not_implemented.hpp>
#include <boost/geometry/core/coordinate_dimension.hpp>
#include <boost/geometry/geometries/concepts/check.hpp>
@@ -199,12 +200,13 @@
template
<
- typename BoxOut, typename Geometry,
+ typename GeometryOut, typename Geometry,
typename StrategyLess = strategy::compare::default_strategy,
typename StrategyGreater = strategy::compare::default_strategy,
+ typename TagOut = typename tag<GeometryOut>::type,
typename Tag = typename tag<Geometry>::type
>
-struct expand
+struct expand: not_implemented<TagOut, Tag>
{};
@@ -214,7 +216,7 @@
typename BoxOut, typename Point,
typename StrategyLess, typename StrategyGreater
>
-struct expand<BoxOut, Point, StrategyLess, StrategyGreater, point_tag>
+struct expand<BoxOut, Point, StrategyLess, StrategyGreater, box_tag, point_tag>
: detail::expand::point_loop
<
StrategyLess, StrategyGreater,
@@ -229,7 +231,7 @@
typename BoxOut, typename BoxIn,
typename StrategyLess, typename StrategyGreater
>
-struct expand<BoxOut, BoxIn, StrategyLess, StrategyGreater, box_tag>
+struct expand<BoxOut, BoxIn, StrategyLess, StrategyGreater, box_tag, box_tag>
: detail::expand::expand_indexed<StrategyLess, StrategyGreater>
{};
@@ -238,7 +240,7 @@
typename Box, typename Segment,
typename StrategyLess, typename StrategyGreater
>
-struct expand<Box, Segment, StrategyLess, StrategyGreater, segment_tag>
+struct expand<Box, Segment, StrategyLess, StrategyGreater, box_tag, segment_tag>
: detail::expand::expand_indexed<StrategyLess, StrategyGreater>
{};
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