Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::functional::pop_front Struct Reference

A PolymorphicFunctionObject type that invokes the fusion::pop_front() algorithm on its argument. More...

#include <pop_front.hpp>

Classes

struct  result
 
struct  result< This(Seq &)>
 
struct  result< This(Seq)>
 

Public Member Functions

template<typename Seq >
fusion::result_of::pop_front
< Seq >::type 
operator() (Seq &seq) const
 
template<typename Seq >
fusion::result_of::pop_front
< Seq const >::type 
operator() (Seq const &seq) const
 

Detailed Description

A PolymorphicFunctionObject type that invokes the fusion::pop_front() algorithm on its argument.

A PolymorphicFunctionObject type that invokes the fusion::pop_front() algorithm on its argument. This is useful for defining a CallableTransform like pop_front(_) which removes the first child from a Proto expression node. Such a transform might be used as the first argument to the proto::fold<> transform; that is, fold all but the first child.

Member Function Documentation

template<typename Seq >
fusion::result_of::pop_front<Seq>::type boost::proto::functional::pop_front::operator() ( Seq &  seq) const
inline
template<typename Seq >
fusion::result_of::pop_front<Seq const>::type boost::proto::functional::pop_front::operator() ( Seq const &  seq) const
inline

The documentation for this struct was generated from the following file: