![]() |
Home | Libraries | People | FAQ | More |
boost::proto::functional::reverse — A PolymorphicFunctionObject type that invokes the
fusion::reverse()
algorithm on its argument.
// In header: <boost/proto/functional/fusion/reverse.hpp> struct reverse : proto::callable { // member classes/structs/unions template<typename This, typename Seq> struct result<> : result< This(Seq const &) > { }; template<typename This, typename Seq> struct result<> : fusion::result_of::reverse< Seq > { }; // public member functions template<typename Seq> () ; template<typename Seq> () ; };
A PolymorphicFunctionObject type that invokes the
fusion::reverse()
algorithm on its argument. This is
useful for defining a CallableTransform like
reverse(_)
, which reverses the order of the children
of a Proto expression node.