Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Struct pop_front

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Reference

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct pop_front

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

Synopsis

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

struct pop_front :  proto::callable {
  // member classes/structs/unions
  template<typename This, typename Seq> 
  struct result<This(Seq)> :  result< This(Seq const &) > {
  };
  template<typename This, typename Seq> 
  struct result<This(Seq &)> :  fusion::result_of::pop_front< Seq > {
  };
  // public member functions
  template<typename Seq> 
    typename fusion::result_of::pop_front< Seq >::type operator()(Seq &) const;
  template<typename Seq> 
    typename fusion::result_of::pop_front< Seq const >::type 
    operator()(Seq const &) const;
};

Description

PolymorphicFunctionObject тип, который вызывает fusion::pop_front() алгоритм на своем аргументе. Это полезно для определения CallableTransform, таких как pop_front(_), который удаляет первого ребенка из узла выражения Proto. Такое преобразование может быть использовано в качестве первого аргумента к прото::fold<> трансформации; то есть сложить все, кроме первого ребенка.

pop_front public member functions

  1. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>2>>>2>>>2>>>>2>>>>>>>>>>>>>>>>>
  2. >>>>>>>>>>>>6>>>>>2>>>>>2>>>>>2>>>>>2>>>2>>2>>>2>>2>>2>>1>>>>>>>>>>>>>>>>>>>

PrevUpHomeNext

Статья Struct pop_front раздела The Boost C++ Libraries BoostBook Documentation Subset Reference может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Reference ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-09-15 02:46:05/0.0038540363311768/0