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 is the documentation for an old version of Boost. Click here to view this page for the latest version.
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.102. 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