![]() |
Home | Libraries | People | FAQ | More |
A metafunction returning the result type of any.
template< typename Sequence, typename F > struct any { typedef bool type; };
Table 1.45. Parameters
Parameter | Requirement | Description |
---|---|---|
Sequence | A model of Forward Sequence | Operation's argument |
F | A model of unary Polymorphic Function Object | Operation's argument |
result_of::any<Sequence, F>::type
Return type: bool.
Semantics: Returns the return type of any given a sequence of type Sequence and a unary Polymorphic Function Object of type F. The return type is always bool.
Constant.
#include <boost/fusion/algorithm/query/any.hpp>
Copyright © 2001-2005 Joel de Guzman, Dan Marsden |