Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53329 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-05-27 18:37:57


Author: jewillco
Date: 2009-05-27 18:37:56 EDT (Wed, 27 May 2009)
New Revision: 53329
URL: http://svn.boost.org/trac/boost/changeset/53329

Log:
Fixed conversion of parameters after end-of-list marker, as used in strong_components
Text files modified:
   trunk/boost/graph/named_function_params.hpp | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/boost/graph/named_function_params.hpp
==============================================================================
--- trunk/boost/graph/named_function_params.hpp (original)
+++ trunk/boost/graph/named_function_params.hpp 2009-05-27 18:37:56 EDT (Wed, 27 May 2009)
@@ -341,6 +341,15 @@
       }
     };
 
+ template <typename P, typename R>
+ struct convert_bgl_params_to_boost_parameter<bgl_named_params<P, int, R> > {
+ typedef convert_bgl_params_to_boost_parameter<R> rest_conv;
+ typedef typename rest_conv::type type;
+ static type conv(const bgl_named_params<P, int, R>& x) {
+ return rest_conv::conv(x);
+ }
+ };
+
     template <>
     struct convert_bgl_params_to_boost_parameter<boost::no_property> {
       typedef boost::parameter::aux::empty_arg_list 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