Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct push_back

boost::xpressive::op::push_back — push_back is a PolymorphicFunctionObject for pushing an element into the back of a container.

Synopsis

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


struct push_back {
  // types
  typedef void result_type;

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

Description

push_back public member functions

  1. template<typename Sequence, typename Value> 
      void operator()(Sequence & seq, Value const & val) const;
    Equivalent to seq.push_back(val).

    Parameters:

    seq

    The sequence into which the value should be pushed.

    val

    The value to push into the sequence.

    Returns:

    void


PrevUpHomeNext