first 構造体テンプレート
概要
// ヘッダ:<boost/xpressive/regex_actions.hpp> structfirst{ // メンバクラス、構造体、共用体 template<typename Sig> structresult{ }; template<typename This, typename Pair> structresult<This(Pair)> { // 型 typedef remove_reference< Pair >::type::first_typefirst::result::type; }; // 公開メンバ関数 template<typename Pair> Pair::first_typeoperator()(Pair const &) const; };