Home | Libraries | People | FAQ | More |
boost::xpressive::op::second — second
is a PolymorphicFunctionObject for fetching the second element of a pair.
// In header: <boost/xpressive/regex_actions.hpp> struct second { // member classes/structs/unions template<typename Sig> struct result { }; template<typename This, typename Pair> struct result<This(Pair)> { // types typedef remove_reference< Pair >::type::second_type type; }; // public member functions template<typename Pair> Pair::second_type operator()(Pair const &) const; };