Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct back

boost::xpressive::op::back — back is a PolymorphicFunctionObject for fetching the back element of a container.

Synopsis

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


struct back {
  // 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< back( () ;
};

Description

back public member functions

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

    Parameters:

    seq

    The sequence from which to fetch the back.

    Returns:

    seq.back()


PrevUpHomeNext