mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
use filter_iter::policies_type instead of filter_gen::policies_type
[SVN r9292]
This commit is contained in:
parent
a19d13f123
commit
a5adbbfd5f
@ -384,13 +384,13 @@ main()
|
|||||||
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
, dummyT
|
, dummyT
|
||||||
#endif
|
#endif
|
||||||
> filter_gen;
|
>::type filter_iter;
|
||||||
|
|
||||||
filter_gen::type i(array, filter_gen::policies_type(one_or_four(), array + N));
|
filter_iter i(array, filter_iter::policies_type(one_or_four(), array + N));
|
||||||
boost::forward_iterator_test(i, dummyT(1), dummyT(4));
|
boost::forward_iterator_test(i, dummyT(1), dummyT(4));
|
||||||
|
|
||||||
enum { is_forward = boost::is_same<
|
enum { is_forward = boost::is_same<
|
||||||
filter_gen::type::iterator_category,
|
filter_iter::iterator_category,
|
||||||
std::forward_iterator_tag>::value };
|
std::forward_iterator_tag>::value };
|
||||||
BOOST_STATIC_ASSERT(is_forward);
|
BOOST_STATIC_ASSERT(is_forward);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user