Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
erase

Returns the result type of erase, given the input sequence and range delimiting iterator types.

Description
Synopsis
template<
    typename Sequence,
    typename It1,
    typename It2 = unspecified>
struct erase
{
    typedef unspecified type;
};

Parameters

Parameter Requirement Description
Sequence A model of Forward Sequence Operation's argument
It1 A model of Forward Iterator Operation's argument
It2 A model of Forward Iterator Operation's argument
Expression Semantics
result_of::erase<Sequence, It1>::type

Return type: A model of Forward Sequence.

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.

Complexity

Constant.

Header
#include <boost/fusion/algorithm/transformation/erase.hpp>
Copyright © 2001-2005 Joel de Guzman, Dan Marsden

PrevUpHomeNext