gcc ADL fixes

[SVN r17811]
This commit is contained in:
Aleksey Gurtovoy committed 2003-03-11 11:59:49 +00:00
1 parent db4f1d99cb
commit bbcf7e9294
20 files changed
+117 -20

No files matched your search

+9 -1
View File
@@ -56,6 +56,8 @@ struct distance_impl<ra_iter_tag_,First,Last>
} // namespace aux
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_BEGIN
template<
typename BOOST_MPL_AUX_VOID_SPEC_PARAM(First)
, typename BOOST_MPL_AUX_VOID_SPEC_PARAM(Last)
@@ -70,6 +72,8 @@ struct distance
>::type type;
};
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_END
#else
namespace aux {
@@ -99,6 +103,8 @@ struct distance_impl<ra_iter_tag_>
} // namespace aux
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_BEGIN
template<
typename BOOST_MPL_AUX_VOID_SPEC_PARAM(First)
, typename BOOST_MPL_AUX_VOID_SPEC_PARAM(Last)
@@ -113,9 +119,11 @@ struct distance
{
};
BOOST_MPL_AUX_AGLORITHM_NAMESPACE_END
#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
BOOST_MPL_AUX_VOID_SPEC(2, distance)
BOOST_MPL_AUX_ALGORITHM_VOID_SPEC(2, distance)
} // namespace mpl
} // namespace boost