Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct push_back

boost::proto::functional::push_back — A PolymorphicFunctionObject type that invokes the fusion::push_back() algorithm on its arguments.

Synopsis

// In header: <boost/proto/functional/fusion/push_back.hpp>


struct push_back :  proto::callable {
  // member classes/structs/unions
  template<typename This, typename Seq, typename T> 
  struct result<This(Seq, T)> :  fusion::result_of::push_back<
      typename boost::add_const<typename boost::remove_reference<Seq>::type>::type
    , typename boost::remove_const<typename boost::remove_reference<T>::type>::type
  >
  {
  };

  // public member functions
  template<typename Seq, typename T> 
    typename fusion::result_of::push_back< Seq const, T >::type 
    operator()(Seq const &, T const &) const;
};

Description

A PolymorphicFunctionObject type that invokes the fusion::push_back() algorithm on its arguments.

push_back public member functions

  1. template<typename Seq, typename T> 
      typename fusion::result_of::push_back< Seq const, T >::type 
      operator()(Seq const & seq, T const & t) const;

    Returns:

    fusion::push_back(seq, t)


PrevUpHomeNext