gcc ADL fixes

[SVN r17811]
This commit is contained in:
Aleksey Gurtovoy
2003-03-11 11:59:49 +00:00
parent db4f1d99cb
commit bbcf7e9294
20 changed files with 117 additions and 20 deletions
+9 -1
View File
@@ -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