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

Struct first

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 first

boost::xpressive::op::first — first is a PolymorphicFunctionObject for fetching the first element of a pair.

Synopsis

// In header: <boost/xpressive/regex_actions.hpp>

struct first {
  // member classes/structs/unions
  template<typename Sig> 
  struct result {
  };
  template<typename This, typename Pair> 
  struct result<This(Pair)> {
    // types
    typedef remove_reference< Pair >::type::first_type type;
  };
  // public member functions
  template<typename Pair> Pair::first_type operator()(Pair const &) const;
};

Description

first public member functions

  1. шаблон<ФамилияПара>Пара:Первый типОператор()(ПараКонст&pКонст;

    Параметры:

    Пара, из которой можно извлечь первый элемент.

    Возвращение:

    p.first


PrevUpHomeNext

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




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



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


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-20 01:22:22/0.0051620006561279/1