mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-02 22:34:31 +02:00
MIPSpro 7.41 compatibility (works around name lookup problems)
[SVN r24897]
This commit is contained in:
@@ -41,7 +41,7 @@ template<
|
||||
>
|
||||
struct at_c
|
||||
: at_impl< typename sequence_tag<Sequence>::type >
|
||||
::template apply< Sequence,long_<N> >
|
||||
::template apply< Sequence,mpl::long_<N> >
|
||||
{
|
||||
};
|
||||
|
||||
|
@@ -72,7 +72,7 @@ struct for_each_impl<false>
|
||||
value_initialized<arg> 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>
|
||||
::execute((iter*)0, (LastIterator*)0, (TransformFunc*)0, f);
|
||||
}
|
||||
|
@@ -42,7 +42,7 @@ template< long N >
|
||||
struct O1_size_impl< aux::vector_tag<N> >
|
||||
{
|
||||
template< typename Vector > struct apply
|
||||
: long_<N>
|
||||
: mpl::long_<N>
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -40,7 +40,7 @@ struct v_iter
|
||||
typedef typename v_at<Vector,n_>::type type;
|
||||
|
||||
typedef Vector vector_;
|
||||
typedef long_<n_> pos;
|
||||
typedef mpl::long_<n_> pos;
|
||||
|
||||
#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||
enum {
|
||||
@@ -95,7 +95,7 @@ template<
|
||||
, BOOST_MPL_AUX_NTTP_DECL(long, m_)
|
||||
>
|
||||
struct distance< v_iter<Vector,n_>, v_iter<Vector,m_> >
|
||||
: long_<(m_ - n_)>
|
||||
: mpl::long_<(m_ - n_)>
|
||||
{
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user