...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
, given the sequence and
removal types.
template< typename Sequence, typename T > struct remove { typedef unspecified type; };
Table 1.93. Parameters
Parameter |
Requirement |
Description |
---|---|---|
|
A model of Forward Sequence |
Operation's argument |
|
Any type |
Remove elements of this type |
result_of::remove
<Sequence, T>::type
Return type:
Sequence
implements the Associative
Sequence model.
Semantics: Returns a sequence containing
the elements of Sequence
not of type T
. Equivalent
to
.
result_of::remove_if
<Sequence,
boost::is_same<mpl::_, T> >::type
Constant.
#include <boost/fusion/algorithm/transformation/remove.hpp> #include <boost/fusion/include/remove.hpp>