mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-30 21:07:20 +02:00
Merge from trunk.
[SVN r42243]
This commit is contained in:
@ -49,7 +49,9 @@
|
|||||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
|
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
|
||||||
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x531)) \
|
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x531)) \
|
||||||
|| (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
|
|| (BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, <= 700) && defined(_MSC_VER)) \
|
||||||
|| BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042))
|
|| BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590042)) \
|
||||||
|
|| BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x590))
|
||||||
|
|
||||||
# define BOOST_NO_LVALUE_RETURN_DETECTION
|
# define BOOST_NO_LVALUE_RETURN_DETECTION
|
||||||
|
|
||||||
# if 0 // test code
|
# if 0 // test code
|
||||||
|
@ -433,26 +433,26 @@ namespace boost
|
|||||||
# ifdef BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY
|
# ifdef BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY
|
||||||
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
||||||
template < \
|
template < \
|
||||||
class Derived1, class V1, class TC1, class R1, class D1 \
|
class Derived1, class V1, class TC1, class Reference1, class Difference1 \
|
||||||
, class Derived2, class V2, class TC2, class R2, class D2 \
|
, class Derived2, class V2, class TC2, class Reference2, class Difference2 \
|
||||||
> \
|
> \
|
||||||
prefix typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
prefix typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
||||||
operator op( \
|
operator op( \
|
||||||
iterator_facade<Derived1, V1, TC1, R1, D1> const& lhs \
|
iterator_facade<Derived1, V1, TC1, Reference1, Difference1> const& lhs \
|
||||||
, iterator_facade<Derived2, V2, TC2, R2, D2> const& rhs)
|
, iterator_facade<Derived2, V2, TC2, Reference2, Difference2> const& rhs)
|
||||||
# else
|
# else
|
||||||
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
# define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
|
||||||
template < \
|
template < \
|
||||||
class Derived1, class V1, class TC1, class R1, class D1 \
|
class Derived1, class V1, class TC1, class Reference1, class Difference1 \
|
||||||
, class Derived2, class V2, class TC2, class R2, class D2 \
|
, class Derived2, class V2, class TC2, class Reference2, class Difference2 \
|
||||||
> \
|
> \
|
||||||
prefix typename boost::detail::enable_if_interoperable< \
|
prefix typename boost::detail::enable_if_interoperable< \
|
||||||
Derived1, Derived2 \
|
Derived1, Derived2 \
|
||||||
, typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
, typename mpl::apply2<result_type,Derived1,Derived2>::type \
|
||||||
>::type \
|
>::type \
|
||||||
operator op( \
|
operator op( \
|
||||||
iterator_facade<Derived1, V1, TC1, R1, D1> const& lhs \
|
iterator_facade<Derived1, V1, TC1, Reference1, Difference1> const& lhs \
|
||||||
, iterator_facade<Derived2, V2, TC2, R2, D2> const& rhs)
|
, iterator_facade<Derived2, V2, TC2, Reference2, Difference2> const& rhs)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# define BOOST_ITERATOR_FACADE_PLUS_HEAD(prefix,args) \
|
# define BOOST_ITERATOR_FACADE_PLUS_HEAD(prefix,args) \
|
||||||
|
Reference in New Issue
Block a user