mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 16:12:10 +02:00
Stop support CW7; workaround for aCC
[SVN r24191]
This commit is contained in:
@ -204,7 +204,6 @@ namespace boost
|
|||||||
>
|
>
|
||||||
type;
|
type;
|
||||||
};
|
};
|
||||||
template <class T> int static_assert_convertible_to(T);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -302,8 +301,7 @@ namespace boost
|
|||||||
>::type my_traversal;
|
>::type my_traversal;
|
||||||
|
|
||||||
# define BOOST_ITERATOR_ADAPTOR_ASSERT_TRAVERSAL(cat) \
|
# define BOOST_ITERATOR_ADAPTOR_ASSERT_TRAVERSAL(cat) \
|
||||||
typedef int assertion[sizeof(detail::static_assert_convertible_to<cat>(my_traversal()))];
|
BOOST_STATIC_ASSERT((is_convertible<my_traversal,cat>::value));
|
||||||
// BOOST_STATIC_ASSERT((is_convertible<my_traversal,cat>::value));
|
|
||||||
|
|
||||||
void advance(typename super_t::difference_type n)
|
void advance(typename super_t::difference_type n)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user