...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the result type of insert_range
, given the input
sequence, position iterator and insertion range types.
template< typename Sequence, typename Position, typename Range > struct insert_range { 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 Sequence |
Operation's argument |
result_of::insert_range
<Sequence, Position, Range>::type
Return type:
Sequence
implements the Associative
Sequence model.
Semantics: Returns a sequence with the
elements of Range
inserted
at position Position
into Sequence
.
Constant.
#include <boost/fusion/algorithm/transformation/insert_range.hpp> #include <boost/fusion/include/insert_range.hpp>