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

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.100. 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:

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