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

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

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

Table1.87.Parameters

Parameter

Requirement

Description

Sequence

A model of Forward Sequence

Operation's argument


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

Return type: A model of Forward Sequence.

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

Complexity

Constant.

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

PrevUpHomeNext