Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct top

boost::xpressive::op::top — top is a PolymorphicFunctionObject for fetching the top element of a stack.

Synopsis

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


struct top {
  // member classes/structs/unions
  template<typename Sig> 
  struct result {
  };
  template<typename This, typename Sequence> 
  struct result<> {
    // types
    typedef                                                                                                  ;
    typedef  ;         
  };

  // public member functions
  template<typename Sequence> 
    result< top( () ;
};

Description

top public member functions

  1. template<typename Sequence> 
      result< top( ( seq) ;

    Parameters:

    seq

    The sequence from which to fetch the top.

    Returns:

    seq.top()


PrevUpHomeNext