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

Click here to view the latest version of this page.
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;
};

Table1.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