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
This version of Boost is under active development. You are currently in the master branch. The current version is 1.91.0.
Returns the result type of insert, given the sequence,
position iterator and insertion types.
template< typename Sequence, typename Position, typename T > struct insert { typedef unspecified type; };
Table 1.99. Parameters
|
Parameter |
Requirement |
Description |
|---|---|---|
|
|
A model of Forward Sequence |
Operation's argument |
|
|
A model of Forward Iterator |
Operation's argument |
|
|
Any type |
Operation's argument |
result_of::insert<Sequence, Position, T>::type
Return type:
Semantics: Returns a sequence with an
element of type T inserted
at position Position
in Sequence.
Constant.
#include <boost/fusion/algorithm/transformation/insert.hpp> #include <boost/fusion/include/insert.hpp>