Update of /cvsroot/boost/boost/boost/fusion/sequence/view/iterator_range
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14564
Modified Files:
iterator_range.hpp
Log Message:
adds intrinsics to support the concept of the underlying sequence
Index: iterator_range.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/fusion/sequence/view/iterator_range/iterator_range.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- iterator_range.hpp 16 Mar 2007 15:10:55 -0000 1.5
+++ iterator_range.hpp 19 Mar 2007 19:03:41 -0000 1.6
@@ -12,6 +12,8 @@
#include <boost/fusion/support/category_of.hpp>
#include <boost/fusion/sequence/view/iterator_range/detail/begin_impl.hpp>
#include <boost/fusion/sequence/view/iterator_range/detail/end_impl.hpp>
+#include <boost/fusion/sequence/view/iterator_range/detail/at_impl.hpp>
+#include <boost/fusion/sequence/view/iterator_range/detail/value_at_impl.hpp>
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
#include <boost/fusion/iterator/distance.hpp>
#include <boost/mpl/bool.hpp>
@@ -31,9 +33,7 @@
typedef typename result_of::distance<begin_type, end_type>::type size;
typedef mpl::true_ is_view;
- typedef forward_traversal_tag category;
- // typedef typename traits::category_of<begin_type>::type category;
- // TODO: make it work - tosh
+ typedef typename traits::category_of<begin_type>::type category;
iterator_range(First const& first, Last const& last)
: first(convert_iterator<First>::call(first))
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs