mirror of
https://github.com/boostorg/iterator.git
synced 2026-01-22 05:12:50 +00:00
Compare commits
1 Commits
boost-1.33
...
boost-1.33
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86205d56a5 |
@@ -172,7 +172,7 @@ class counting_iterator
|
||||
# if 0
|
||||
template<class OtherIncrementable>
|
||||
counting_iterator(
|
||||
counting_iterator<OtherIncrementable, CategoryOrTraversal, Difference> const& t
|
||||
counting_iterator<OtherIncrementable> const& t
|
||||
, typename enable_if_convertible<OtherIncrementable, Incrementable>::type* = 0
|
||||
)
|
||||
: super_t(t.base())
|
||||
@@ -188,7 +188,7 @@ class counting_iterator
|
||||
|
||||
template <class OtherIncrementable>
|
||||
difference_type
|
||||
distance_to(counting_iterator<OtherIncrementable, CategoryOrTraversal, Difference> const& y) const
|
||||
distance_to(counting_iterator<OtherIncrementable> const& y) const
|
||||
{
|
||||
typedef typename mpl::if_<
|
||||
detail::is_numeric<Incrementable>
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace detail
|
||||
template <class U>
|
||||
not_an_lvalue lvalue_preserver(U const&, ...);
|
||||
|
||||
# define BOOST_LVALUE_PRESERVER(expr) detail::lvalue_preserver(expr,0)
|
||||
# define BOOST_LVALUE_PRESERVER(expr) lvalue_preserver(expr,0)
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -277,7 +277,6 @@ int main()
|
||||
// Test user-defined type.
|
||||
|
||||
test_integer3<my_int1, std::forward_iterator_tag, int>();
|
||||
test_integer3<long, std::random_access_iterator_tag, int>();
|
||||
test_integer<my_int2>();
|
||||
test_integer<my_int3>();
|
||||
|
||||
|
||||
@@ -161,10 +161,6 @@ non_pointer_test<std::ostream_iterator<int>,int,
|
||||
non_pointer_test<std::ostream_iterator<int>,
|
||||
int, void, int*, int&, std::output_iterator_tag>
|
||||
ostream_iterator_test;
|
||||
#elif BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(70190006))
|
||||
non_pointer_test<std::ostream_iterator<int>,
|
||||
int, long, int*, int&, std::output_iterator_tag>
|
||||
ostream_iterator_test;
|
||||
#else
|
||||
non_pointer_test<std::ostream_iterator<int>,
|
||||
void, void, void, void, std::output_iterator_tag>
|
||||
|
||||
Reference in New Issue
Block a user