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
pop_front
Description

Returns the result type of pop_front, given the input sequence type.

Synopsis
template<
    typename Sequence
    >
struct pop_front
{
    typedef unspecified type;
};

Table 1.99. Parameters

Parameter

Requirement

Description

Sequence

A model of Forward Sequence

Operation's argument


Expression Semantics
result_of::pop_front<Sequence>::type

Return type:

Semantics: Returns a sequence with all the elements of Sequence except the first element.

Complexity

Constant.

Header
#include <boost/fusion/algorithm/transformation/pop_front.hpp>
#include <boost/fusion/include/pop_front.hpp>

PrevUpHomeNext