...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the result type of remove_if
, given the input sequence
and unary MPL
Lambda Expression predicate types.
template< typename Sequence, typename Pred > struct remove_if { typedef unspecified type; };
Table 1.94. Parameters
Parameter |
Requirement |
Description |
---|---|---|
|
A model of Forward Sequence |
Operation's argument |
|
A model of unary MPL Lambda Expression |
Remove elements which evaluate to |
result_of::remove_if
<Sequence, Pred>::type
Return type:
Sequence
implements the Associative
Sequence model.
Semantics: Returns a sequence containing
the elements of Sequence
for which Pred
evaluates
to boost::mpl::false_
.
Constant.
#include <boost/fusion/algorithm/transformation/remove_if.hpp> #include <boost/fusion/include/remove_if.hpp>