iterator_range can't be more than a forward sequence, until we implement more intrinsics

[SVN r37200]
This commit is contained in:
Tobias Schwinger
2007-03-16 15:10:55 +00:00
parent 8f51212782
commit 41b16b8717

View File

@ -31,7 +31,9 @@ namespace boost { namespace fusion
typedef typename result_of::distance<begin_type, end_type>::type size;
typedef mpl::true_ is_view;
typedef typename traits::category_of<begin_type>::type category;
typedef forward_traversal_tag category;
// typedef typename traits::category_of<begin_type>::type category;
// TODO: make it work - tosh
iterator_range(First const& first, Last const& last)
: first(convert_iterator<First>::call(first))