|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63997 - sandbox/geometry/boost/geometry/strategies/concepts
From: barend.gehrels_at_[hidden]
Date: 2010-07-13 16:13:53
Author: barendgehrels
Date: 2010-07-13 16:13:52 EDT (Tue, 13 Jul 2010)
New Revision: 63997
URL: http://svn.boost.org/trac/boost/changeset/63997
Log:
Added remove_const (here it is necessary to avoid vector<const point_type>)
Text files modified:
sandbox/geometry/boost/geometry/strategies/concepts/simplify_concept.hpp | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
Modified: sandbox/geometry/boost/geometry/strategies/concepts/simplify_concept.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/concepts/simplify_concept.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/concepts/simplify_concept.hpp 2010-07-13 16:13:52 EDT (Tue, 13 Jul 2010)
@@ -54,13 +54,16 @@
>::type base_index;
// 1: inspect and define both arguments of apply
- typedef typename boost::remove_reference
+ typedef typename boost::remove_const
<
- typename boost::mpl::at
- <
- parameter_types,
- base_index
- >::type
+ typename boost::remove_reference
+ <
+ typename boost::mpl::at
+ <
+ parameter_types,
+ base_index
+ >::type
+ >::type
>::type point_type;
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