...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 push_front
, given the types
of the input sequence and element to push.
template< typename Sequence, typename T > struct push_front { typedef unspecified type; };
Table 1.104. Parameters
Parameter |
Requirement |
Description |
---|---|---|
|
A model of Forward Sequence |
Operation's argument |
|
Any type |
Operation's argument |
result_of::push_front
<Sequence, T>::type
Return type:
Semantics: Returns a sequence with the
elements of Sequence
and an element of type T
added to the beginning.
Constant.
#include <boost/fusion/algorithm/transformation/push_front.hpp> #include <boost/fusion/include/push_front.hpp>