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

Struct second

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 second

boost::proto::functional::second — A PolymorphicFunctionObject type that returns the second element of a std::pair<>.

Synopsis

// In header: <boost/proto/functional/std/utility.hpp>

struct second :  proto::callable {
  // member classes/structs/unions
  template<typename This, typename Pair> 
  struct result<This(Pair)> {
    // types
    typedef typename Pair::second_type type;
  };
  template<typename This, typename Pair> 
  struct result<This(Pair &)> {
    // types
    typedef typename Pair::second_type & type;
  };
  template<typename This, typename Pair> 
  struct result<This(Pair const &)> {
    // types
    typedef typename Pair::second_type const & type;
  };
  // public member functions
  template<typename Pair> 
    typename Pair::second_type & operator()(Pair &) const;
  template<typename Pair> 
    typename Pair::second_type const & operator()(Pair const &) const;
};

Description

PolymorphicFunctionObject тип, который возвращает второй элемент std::pair<>.

second public member functions

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

PrevUpHomeNext

Статья Struct second раздела 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 22:33:39/0.0080599784851074/1