MPL: Remove use of obsolete macro.
[SVN r85958]
This commit is contained in:
1 parent
18d0db5b5c
commit
8143a00562
30 files changed
+71
-71
No files matched your search
@@ -59,9 +59,9 @@ struct at_impl< aux::vector_tag >
|
||||
# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
|
||||
&& !defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
|
||||
|
||||
template< typename Vector, BOOST_MPL_AUX_NTTP_DECL(long, n_) > struct v_at;
|
||||
template< typename Vector, long n_ > struct v_at;
|
||||
|
||||
template< BOOST_MPL_AUX_NTTP_DECL(long, n_) >
|
||||
template< long n_ >
|
||||
struct at_impl< aux::vector_tag<n_> >
|
||||
{
|
||||
template< typename Vector, typename N > struct apply
|
||||
@@ -85,7 +85,7 @@ struct at_impl< aux::vector_tag<n_> >
|
||||
|
||||
namespace aux {
|
||||
|
||||
template< BOOST_MPL_AUX_NTTP_DECL(long, n_) > struct v_at_impl
|
||||
template< long n_ > struct v_at_impl
|
||||
{
|
||||
template< typename V > struct result_;
|
||||
};
|
||||
@@ -101,7 +101,7 @@ template<> struct v_at_impl<-1>
|
||||
|
||||
} // namespace aux
|
||||
|
||||
template< typename T, BOOST_MPL_AUX_NTTP_DECL(long, n_) >
|
||||
template< typename T, long n_ >
|
||||
struct v_at
|
||||
: aux::v_at_impl<n_>::template result_<T>
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ struct front_impl< aux::vector_tag >
|
||||
|
||||
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||
|
||||
template< BOOST_MPL_AUX_NTTP_DECL(long, n_) >
|
||||
template< long n_ >
|
||||
struct front_impl< aux::vector_tag<n_> >
|
||||
{
|
||||
template< typename Vector > struct apply
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace boost { namespace mpl {
|
||||
|
||||
template<
|
||||
typename Vector
|
||||
, BOOST_MPL_AUX_NTTP_DECL(long, n_)
|
||||
, long n_
|
||||
>
|
||||
struct v_iter
|
||||
{
|
||||
@@ -60,7 +60,7 @@ struct v_iter
|
||||
|
||||
template<
|
||||
typename Vector
|
||||
, BOOST_MPL_AUX_NTTP_DECL(long, n_)
|
||||
, long n_
|
||||
>
|
||||
struct next< v_iter<Vector,n_> >
|
||||
{
|
||||
@@ -69,7 +69,7 @@ struct next< v_iter<Vector,n_> >
|
||||
|
||||
template<
|
||||
typename Vector
|
||||
, BOOST_MPL_AUX_NTTP_DECL(long, n_)
|
||||
, long n_
|
||||
>
|
||||
struct prior< v_iter<Vector,n_> >
|
||||
{
|
||||
@@ -78,7 +78,7 @@ struct prior< v_iter<Vector,n_> >
|
||||
|
||||
template<
|
||||
typename Vector
|
||||
, BOOST_MPL_AUX_NTTP_DECL(long, n_)
|
||||
, long n_
|
||||
, typename Distance
|
||||
>
|
||||
struct advance< v_iter<Vector,n_>,Distance>
|
||||
@@ -91,8 +91,8 @@ struct advance< v_iter<Vector,n_>,Distance>
|
||||
|
||||
template<
|
||||
typename Vector
|
||||
, BOOST_MPL_AUX_NTTP_DECL(long, n_)
|
||||
, BOOST_MPL_AUX_NTTP_DECL(long, m_)
|
||||
, long n_
|
||||
, long m_
|
||||
>
|
||||
struct distance< v_iter<Vector,n_>, v_iter<Vector,m_> >
|
||||
: mpl::long_<(m_ - n_)>
|
||||
|
||||
@@ -24,7 +24,7 @@ struct v_iter_tag;
|
||||
#if defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES)
|
||||
struct vector_tag;
|
||||
#else
|
||||
template< BOOST_MPL_AUX_NTTP_DECL(long, N) > struct vector_tag;
|
||||
template< long N > struct vector_tag;
|
||||
#endif
|
||||
|
||||
}}}
|
||||
|
||||
Reference in new issue
Block a user