MIPSpro 7.41 compatibility (works around name lookup problems)

[SVN r24897]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2004-09-04 01:33:47 +00:00
parent 87067f0473
commit 8ef4119fde
4 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ template<
> >
struct at_c struct at_c
: at_impl< typename sequence_tag<Sequence>::type > : at_impl< typename sequence_tag<Sequence>::type >
::template apply< Sequence,long_<N> > ::template apply< Sequence,mpl::long_<N> >
{ {
}; };

View File

@@ -72,7 +72,7 @@ struct for_each_impl<false>
value_initialized<arg> x; value_initialized<arg> x;
aux::unwrap(f, 0)(boost::get(x)); aux::unwrap(f, 0)(boost::get(x));
typedef typename next<Iterator>::type iter; typedef typename mpl::next<Iterator>::type iter;
for_each_impl<boost::is_same<iter,LastIterator>::value> for_each_impl<boost::is_same<iter,LastIterator>::value>
::execute((iter*)0, (LastIterator*)0, (TransformFunc*)0, f); ::execute((iter*)0, (LastIterator*)0, (TransformFunc*)0, f);
} }

View File

@@ -42,7 +42,7 @@ template< long N >
struct O1_size_impl< aux::vector_tag<N> > struct O1_size_impl< aux::vector_tag<N> >
{ {
template< typename Vector > struct apply template< typename Vector > struct apply
: long_<N> : mpl::long_<N>
{ {
}; };
}; };

View File

@@ -40,7 +40,7 @@ struct v_iter
typedef typename v_at<Vector,n_>::type type; typedef typename v_at<Vector,n_>::type type;
typedef Vector vector_; typedef Vector vector_;
typedef long_<n_> pos; typedef mpl::long_<n_> pos;
#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) #if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
enum { enum {
@@ -95,7 +95,7 @@ template<
, BOOST_MPL_AUX_NTTP_DECL(long, m_) , BOOST_MPL_AUX_NTTP_DECL(long, m_)
> >
struct distance< v_iter<Vector,n_>, v_iter<Vector,m_> > struct distance< v_iter<Vector,n_>, v_iter<Vector,m_> >
: long_<(m_ - n_)> : mpl::long_<(m_ - n_)>
{ {
}; };