mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 16:12:10 +02:00
ETI workarounds for vc6
[SVN r21547]
This commit is contained in:
@ -73,8 +73,14 @@ template <class T1 = mpl::_1, class T2 = mpl::_2>
|
|||||||
struct minimum_category
|
struct minimum_category
|
||||||
{
|
{
|
||||||
typedef minimum_category_impl<
|
typedef minimum_category_impl<
|
||||||
|
# if BOOST_WORKAROUND(BOOST_MSVC, == 1200) // ETI workaround
|
||||||
|
is_same<T2,int>::value ||
|
||||||
|
# endif
|
||||||
::boost::is_convertible<T1,T2>::value
|
::boost::is_convertible<T1,T2>::value
|
||||||
, ::boost::is_convertible<T2,T1>::value
|
, ::boost::is_convertible<T2,T1>::value
|
||||||
|
# if BOOST_WORKAROUND(BOOST_MSVC, == 1200) // ETI workaround
|
||||||
|
|| is_same<T1,int>::value
|
||||||
|
# endif
|
||||||
> outer;
|
> outer;
|
||||||
|
|
||||||
typedef typename outer::template apply<T1,T2> inner;
|
typedef typename outer::template apply<T1,T2> inner;
|
||||||
@ -91,7 +97,7 @@ struct minimum_category<mpl::_1,mpl::_2>
|
|||||||
{};
|
{};
|
||||||
};
|
};
|
||||||
|
|
||||||
# if BOOST_WORKAROUND(BOOST_MSVC, == 1200)
|
# if BOOST_WORKAROUND(BOOST_MSVC, == 1200) // ETI workaround
|
||||||
template <>
|
template <>
|
||||||
struct minimum_category<int,int>
|
struct minimum_category<int,int>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user