| Home | Libraries | People | FAQ | More

##### remove_if

###### Description

Returns the result type of `remove_if`, given the input sequence and unary MPL Lambda Expression predicate types.

###### Synopsis

    template<
        typename Sequence,
        typename Pred
        >
    struct remove_if
    {
        typedef unspecified type;
    };

Table 1.91. Parameters

Parameter | Requirement | Description
--- | --- | ---
`Sequence` | A model of Forward Sequence | Operation's argument
`Pred` | A model of unary MPL Lambda Expression | Remove elements which evaluate to `boost::mpl::true_`

###### Expression Semantics

    result_of::remove_if<Sequence, Pred>::type

Return type:

- A model of Forward Sequence.
- A model of Associative Sequence if `Sequence` implements the Associative Sequence model.

Semantics: Returns a sequence containing the elements of `Sequence` for which `Pred` evaluates to `boost::mpl::false_`.

###### Complexity

Constant.

###### Header

    #include <boost/fusion/algorithm/transformation/remove_if.hpp>
    #include <boost/fusion/include/remove_if.hpp>