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

Struct template extractor

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 template extractor

boost::accumulators::extractor — Extracts the result associated with Feature from the specified accumulator_set.

Synopsis

// In header: <boost/accumulators/accumulators_fwd.hpp>
template<typename Feature> 
struct extractor {
  // public member functions
  template<typename Arg1> unspecified operator()(Arg1 const &) const;
  template<typename AccumulatorSet, typename A1> 
    unspecified operator()(AccumulatorSet const &, A1 const &) const;
  template<typename AccumulatorSet, typename A1, typename A2, ... > 
    unspecified operator()(AccumulatorSet const &, A1 const &, A2 const &, 
                           ...);
};

Description

extractor public member functions

  1. <
    template<typenameArg1>unspecifiedoperator()(Arg1const&arg1)const;
    >

    Извлечение результата, связанного с Особенностью из набора аккумуляторов

  2. <
    template<typenameAccumulatorSet,typenameA1>
     unspecifiedoperator()(AccumulatorSetconst&acc,A1const&a1)const;
    >

    Это перегруженная функция, предусмотренная для удобства. Он отличается от вышеуказанной функции только тем, какие аргументы он принимает.

  3. <
    template<typenameAccumulatorSet,typenameA1,typenameA2,...>
     unspecifiedoperator()(AccumulatorSetconst&acc,A1const&a1,
                            A2const&a2,...);
    >

    Это перегруженная функция члена, предусмотренная для удобства. Он отличается от вышеуказанной функции только тем, какие аргументы он принимает.

  4. Параметры:

    <a1>

    Факультативный именованный параметр для передачи функции результата() аккумулятора.


    PrevUpHomeNext

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




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



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


    реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 23:17:47/0.0062930583953857/0