Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
insert_range
Description

Returns the result type of insert_range, given the input sequence, position iterator and insertion range types.

Synopsis
template<
    typename Sequence,
    typename Position,
    typename Range
    >
struct insert_range
{
    typedef unspecified type;
};

Table 1.86. Parameters

Parameter

Requirement

Description

Sequence

A model of Forward Sequence

Operation's argument

Position

A model of Forward Iterator

Operation's argument

Range

A model of Forward Sequence

Operation's argument

Expression Semantics
result_of::insert_range<Sequence, Position, Range>::type

Return type: A model of Forward Sequence.

Semantics: Returns a sequence with the elements of Range inserted at position Position into Sequence.

Complexity

Constant.

Header
#include <boost/fusion/algorithm/transformation/insert_range.hpp>
#include <boost/fusion/include/insert_range.hpp>

PrevUpHomeNext