![]() |
Home | Libraries | People | FAQ | More |
Returns the result type of end.
template<typename Seq> struct end { typedef unspecified type; };
| Parameter | Requirement | Description |
|---|---|---|
| Seq | A model of Forward Sequence | Argument sequence |
result_of::end<Seq>::type
Return type: A model of the same traversal concept as Seq.
Semantics: Returns the type of an iterator one past the end of Seq.
#include <boost/fusion/sequence/intrinsic/end.hpp>
typedef vector<int> vec; typedef result_of::prior<result_of::end<vec>::type>::type first; BOOST_MPL_ASSERT((result_of::equal_to<first, result_of::begin<vec>::type>))
| Copyright © 2001-2005 Joel de Guzman, Dan Marsden |