...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.80. 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_ |
result_of::remove_if<Sequence, Pred>::type
Return type: A model of Forward Sequence.
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>