Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.89.0.
A metafunction returning the result type of all.
template< typename Sequence, typename F > struct all { typedef bool type; };
Table 1.57. Parameters
|
Parameter |
Requirement |
Description |
|---|---|---|
|
|
A model of Forward Sequence |
Operation's argument |
|
|
A model of unary Polymorphic Function Object |
Operation's argument |
result_of::all<Sequence, F>::type
Return type: bool.
Semantics: Returns the return type of
all
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/all.hpp> #include <boost/fusion/include/all.hpp>