boost::xpressive::op::str — str
是一个多态函数对象,用于将 sub_match
转换为等效的 std::string
。
// In header: <boost/xpressive/regex_actions.hpp> struct str { // member classes/structs/unions template<typename Sig> struct result { }; template<typename This, typename Sub> struct result<This(Sub)> { // types typedef remove_reference< Sub >::type::string_type type; }; // public member functions template<typename Sub> Sub::string_type operator()(Sub const &) const; };
str
公有成员函数template<typename Sub> Sub::string_type operator()(Sub const & sub) const;
参数 |
|
||
返回 |
|