$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r86776 - branches/release/boost/polygon
From: sydorchuk.andriy_at_[hidden]
Date: 2013-11-19 18:54:15
Author: asydorchuk
Date: 2013-11-19 18:54:15 EST (Tue, 19 Nov 2013)
New Revision: 86776
URL: http://svn.boost.org/trac/boost/changeset/86776
Log:
Polygon: fix issue #9386
Text files modified: 
   branches/release/boost/polygon/polygon_traits.hpp |    24 ++++++++++++------------                
   1 files changed, 12 insertions(+), 12 deletions(-)
Modified: branches/release/boost/polygon/polygon_traits.hpp
==============================================================================
--- branches/release/boost/polygon/polygon_traits.hpp	Tue Nov 19 18:07:09 2013	(r86775)
+++ branches/release/boost/polygon/polygon_traits.hpp	2013-11-19 18:54:15 EST (Tue, 19 Nov 2013)	(r86776)
@@ -1420,18 +1420,6 @@
 
   template <typename T1, typename T2>
   typename enable_if<
-    typename gtl_and< typename is_mutable_point_concept<typename geometry_concept<T1>::type>::type,
-                      typename is_polygon_with_holes_type<T2>::type>::type,
-    bool>::type
-  center(T1& center_point, const T2& polygon) {
-    typedef typename polygon_traits<T2>::coordinate_type coordinate_type;
-    rectangle_data<coordinate_type> bbox;
-    extents(bbox, polygon);
-    return center(center_point, bbox);
-  }
-
-  template <typename T1, typename T2>
-  typename enable_if<
     typename gtl_and< typename is_mutable_rectangle_concept<typename geometry_concept<T1>::type>::type,
                       typename is_polygon_with_holes_type<T2>::type>::type,
     bool>::type
@@ -1451,6 +1439,18 @@
     return true;
   }
 
+  template <typename T1, typename T2>
+  typename enable_if<
+    typename gtl_and< typename is_mutable_point_concept<typename geometry_concept<T1>::type>::type,
+                      typename is_polygon_with_holes_type<T2>::type>::type,
+    bool>::type
+  center(T1& center_point, const T2& polygon) {
+    typedef typename polygon_traits<T2>::coordinate_type coordinate_type;
+    rectangle_data<coordinate_type> bbox;
+    extents(bbox, polygon);
+    return center(center_point, bbox);
+  }
+
   template <class T>
   template <class T2>
   polygon_90_data<T>& polygon_90_data<T>::operator=(const T2& rvalue) {