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

Click here to view the latest version of this page.
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;
};

Table1.88.Parameters

Parameter

Requirement

Description

Sequence

A model of Forward Sequence

Operation's argument

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

Return type: A model of Forward Sequence.

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

Complexity

Constant.

/algorithm/transformation/pop_front.hpp>


PrevUpHomeNext