Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
Returns the result type of erase, given the input sequence
and range delimiting iterator types.
template< typename Sequence, typename It1, typename It2 = unspecified> struct erase { typedef unspecified type; };
Table 1.97. Parameters
|
Parameter |
Requirement |
Description |
|---|---|---|
|
|
A model of Forward Sequence |
Operation's argument |
|
|
A model of Forward Iterator |
Operation's argument |
|
|
A model of Forward Iterator |
Operation's argument |
result_of::erase<Sequence, It1>::type
Return type:
Sequence
implements the Associative
Sequence model.
Semantics: Returns a new sequence with
the element at It1 removed.
result_of::erase<Sequence, It1, It2>::type
Return type: A model of Forward Sequence.
Semantics: Returns a new sequence with
the elements between It1
and It2 removed.
Constant.
#include <boost/fusion/algorithm/transformation/erase.hpp> #include <boost/fusion/include/erase.hpp>