$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r76004 - trunk/boost/geometry/algorithms
From: bruno.lalande_at_[hidden]
Date: 2011-12-16 18:20:35
Author: bruno.lalande
Date: 2011-12-16 18:20:35 EST (Fri, 16 Dec 2011)
New Revision: 76004
URL: http://svn.boost.org/trac/boost/changeset/76004
Log:
Moved slightly misplaced specialization...
Text files modified: 
   trunk/boost/geometry/algorithms/distance.hpp |    23 ++++++++++++-----------                 
   1 files changed, 12 insertions(+), 11 deletions(-)
Modified: trunk/boost/geometry/algorithms/distance.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/distance.hpp	(original)
+++ trunk/boost/geometry/algorithms/distance.hpp	2011-12-16 18:20:35 EST (Fri, 16 Dec 2011)
@@ -272,17 +272,6 @@
 {};
 
 
-template <typename P1, typename P2, typename Strategy>
-struct distance
-    <
-        P1, P2, Strategy,
-        point_tag, point_tag, strategy_tag_distance_point_point,
-        false
-    >
-    : detail::distance::point_to_point<P1, P2, Strategy>
-{};
-
-
 // If reversal is needed, perform it
 template
 <
@@ -350,6 +339,18 @@
 };
 
 
+// Point-point
+template <typename P1, typename P2, typename Strategy>
+struct distance
+    <
+        P1, P2, Strategy,
+        point_tag, point_tag, strategy_tag_distance_point_point,
+        false
+    >
+    : detail::distance::point_to_point<P1, P2, Strategy>
+{};
+
+
 // Point-line version 1, where point-point strategy is specified
 template <typename Point, typename Linestring, typename Strategy>
 struct distance