![]() |
Home | Libraries | People | FAQ | More |
A metafunction that returns the result type of count given the sequence and search types.
template< typename Sequence, typename T > struct count { typedef int type; };
Table 1.50. Parameters
Parameter | Requirement | heading Description |
---|---|---|
Sequence | A model of Forward Sequence | Operation's argument |
T | Any type | Operation's argument |
result_of::count<T>::type
Return type: int.
Semantics: Returns the return type of count. The return type is always int.
Constant.
#include <boost/fusion/algorithm/query/count.hpp>
Copyright © 2001-2005 Joel de Guzman, Dan Marsden |