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 for the latest Boost documentation.
PrevUpHomeNext

Struct pop

boost::xpressive::op::pop — pop is a PolymorphicFunctionObject for popping an element from a container.

Synopsis

// In header: <boost/xpressive/regex_actions.hpp>


struct pop {
  // types
  typedef void result_type;

  // public member functions
  template<typename Sequence> void operator()(Sequence &) const;
};

Description

pop public member functions

  1. template<typename Sequence> void operator()(Sequence & seq) const;
    Equivalent to seq.pop().

    Parameters:

    seq

    The sequence from which to pop.

    Returns:

    void


PrevUpHomeNext