Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct length

boost::xpressive::op::length — length is a PolymorphicFunctionObject for fetching the length of sub_match.

Synopsis

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


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

  // public member functions
  template<typename Sub>  () ;
};

Description

length public member functions

  1. template<typename Sub>  ( sub) ;

    Parameters:

    sub

    The sub_match object.

    Returns:

    sub.length()


PrevUpHomeNext