mirror of
https://github.com/boostorg/graph.git
synced 2026-02-13 00:22:15 +00:00
removed #if 0
[SVN r9952]
This commit is contained in:
@@ -441,19 +441,8 @@ namespace boost {
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
template <typename Default>
|
||||
const Default&
|
||||
choose_param(const detail::error_property_not_found&, const Default& d)
|
||||
{ return d; }
|
||||
|
||||
template <class P, class Default>
|
||||
const P&
|
||||
choose_param(const P& param, const Default&) { return param; }
|
||||
#else
|
||||
// MSVC++ workaround
|
||||
|
||||
namespace detail {
|
||||
// MSVC++ workaround
|
||||
template <class Param>
|
||||
struct choose_param_helper {
|
||||
template <class Default> struct result { typedef Param type; };
|
||||
@@ -474,7 +463,6 @@ namespace boost {
|
||||
choose_param(const P& param, const Default& d) {
|
||||
return detail::choose_param_helper<P>::apply(param, d);
|
||||
}
|
||||
#endif
|
||||
|
||||
template <typename T>
|
||||
inline bool is_default_param(const T&) { return false; }
|
||||
|
||||
Reference in New Issue
Block a user