forked from boostorg/mpl
gcc ADL fixes
[SVN r17811]
This commit is contained in:
@@ -50,6 +50,8 @@ namespace mpl {
|
||||
|
||||
#if defined(BOOST_MPL_CFG_STRIPPED_DOWN_UPPER_BOUND_IMPL)
|
||||
|
||||
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_BEGIN
|
||||
|
||||
// agurt 23/oct/02: has a wrong complexity etc., but at least it works;
|
||||
// feel free to contribute a better implementation!
|
||||
template<
|
||||
@@ -63,6 +65,8 @@ struct upper_bound
|
||||
{
|
||||
};
|
||||
|
||||
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_END
|
||||
|
||||
#else
|
||||
|
||||
namespace aux {
|
||||
@@ -119,6 +123,8 @@ struct upper_bound_step_impl
|
||||
|
||||
} // namespace aux
|
||||
|
||||
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_BEGIN
|
||||
|
||||
template<
|
||||
typename BOOST_MPL_AUX_VOID_SPEC_PARAM(Sequence)
|
||||
, typename BOOST_MPL_AUX_VOID_SPEC_PARAM(T)
|
||||
@@ -136,9 +142,11 @@ struct upper_bound
|
||||
>::type type;
|
||||
};
|
||||
|
||||
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_END
|
||||
|
||||
#endif // BOOST_MPL_CFG_STRIPPED_DOWN_UPPER_BOUND_IMPL
|
||||
|
||||
BOOST_MPL_AUX_VOID_SPEC(2, upper_bound)
|
||||
BOOST_MPL_AUX_ALGORITHM_VOID_SPEC(2, upper_bound)
|
||||
|
||||
} // namespace mpl
|
||||
} // namespace boost
|
||||
|
||||
Reference in New Issue
Block a user