| Home | Libraries | People | FAQ | More

##### all

###### Description

A metafunction returning the result type of `all`.

###### Synopsis

    template<
        typename Sequence,
        typename F
        >
    struct all
    {
        typedef bool type;
    };

Table 1.47. Parameters

Parameter | Requirement | Description
--- | --- | ---
`Sequence` | A model of Forward Sequence | Operation's argument
`F` | A model of unary Polymorphic Function Object | Operation's argument

###### Expression Semantics

    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`.

###### Complexity

Constant.

###### Header

    #include <boost/fusion/algorithm/query/all.hpp>
    #include <boost/fusion/include/all.hpp>