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

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

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

Table 1.91. Parameters

Parameter

Requirement

Description

Sequence

A model of Forward Sequence

Operation's argument


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

Return type:

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

Complexity

Constant.

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

PrevUpHomeNext