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 master branch, built from commit 68cc668162.
PrevUpHomeNext

Struct matched

boost::xpressive::op::matched — matched is a PolymorphicFunctionObject for assessing whether a sub_match object matched or not.

Synopsis

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


struct matched {
  // types
  typedef bool result_type;

  // public member functions
  template<typename Sub> bool operator()(Sub const &) const;
};

Description

matched public member functions

  1. template<typename Sub> bool operator()(Sub const & sub) const;

    Parameters:

    sub

    The sub_match object.

    Returns:

    sub.matched


PrevUpHomeNext