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 a snapshot of the develop branch, built from commit dcea408971.
PrevUpHomeNext

Struct pop_front

boost::xpressive::op::pop_front — pop_front is a PolymorphicFunctionObject for popping an element from the front of a container.

Synopsis

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


struct pop_front {
  // types
  typedef void result_type;

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

Description

pop_front public member functions

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

    Parameters:

    seq

    The sequence from which to pop.

    Returns:

    void


PrevUpHomeNext