mirror of
https://github.com/boostorg/mpl.git
synced 2025-10-03 11:10:59 +02:00
MIPSpro 7.3.1 (EDG 238) workaround
[SVN r26850]
This commit is contained in:
@@ -37,7 +37,7 @@ template< typename Tag > struct distance_impl
|
|||||||
#if !defined(BOOST_MPL_CFG_NO_NESTED_FORWARDING)
|
#if !defined(BOOST_MPL_CFG_NO_NESTED_FORWARDING)
|
||||||
: aux::msvc_eti_base< typename iter_fold<
|
: aux::msvc_eti_base< typename iter_fold<
|
||||||
iterator_range<First,Last>
|
iterator_range<First,Last>
|
||||||
, long_<0>
|
, mpl::long_<0>
|
||||||
, next<>
|
, next<>
|
||||||
>::type >
|
>::type >
|
||||||
{
|
{
|
||||||
@@ -45,14 +45,14 @@ template< typename Tag > struct distance_impl
|
|||||||
{
|
{
|
||||||
typedef typename iter_fold<
|
typedef typename iter_fold<
|
||||||
iterator_range<First,Last>
|
iterator_range<First,Last>
|
||||||
, long_<0>
|
, mpl::long_<0>
|
||||||
, next<>
|
, next<>
|
||||||
>::type type;
|
>::type type;
|
||||||
|
|
||||||
BOOST_STATIC_CONSTANT(long, value =
|
BOOST_STATIC_CONSTANT(long, value =
|
||||||
(iter_fold<
|
(iter_fold<
|
||||||
iterator_range<First,Last>
|
iterator_range<First,Last>
|
||||||
, long_<0>
|
, mpl::long_<0>
|
||||||
, next<>
|
, next<>
|
||||||
>::type::value)
|
>::type::value)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user