matched 構造体テンプレート

struct op::matched

matched は、sub_match オブジェクトがマッチしたかどうか判断する PolymorphicFunctionObject である。

概要

// ヘッダ:<boost/xpressive/regex_actions.hpp>

struct matched {
  // 型
  typedef bool result_type;

  // 公開メンバ関数
  template<typename Sub> bool operator()(Sub const &) const;
};

説明

matched 公開メンバ関数

template<typename Sub>
bool operator()(Sub const &sub) const
パラメータ

sub -- sub_match オブジェクト。

戻り値

sub.matched