From 95ca715167d522ac6b91833bfec1a1492577d6fe Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Mon, 23 Apr 2001 23:25:04 +0000 Subject: [PATCH] removed #if 0 [SVN r9952] --- include/boost/graph/named_function_params.hpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/include/boost/graph/named_function_params.hpp b/include/boost/graph/named_function_params.hpp index 29573873..c756622e 100644 --- a/include/boost/graph/named_function_params.hpp +++ b/include/boost/graph/named_function_params.hpp @@ -441,19 +441,8 @@ namespace boost { } -#if 0 - template - const Default& - choose_param(const detail::error_property_not_found&, const Default& d) - { return d; } - - template - const P& - choose_param(const P& param, const Default&) { return param; } -#else - // MSVC++ workaround - namespace detail { + // MSVC++ workaround template struct choose_param_helper { template struct result { typedef Param type; }; @@ -474,7 +463,6 @@ namespace boost { choose_param(const P& param, const Default& d) { return detail::choose_param_helper

::apply(param, d); } -#endif template inline bool is_default_param(const T&) { return false; }