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