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

прото::right (expr)

Struct right

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 right

boost::proto::functional::right — A callable PolymorphicFunctionObject that is equivalent to the proto::right() function.

Synopsis

// In header: <boost/proto/traits.hpp>

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

Description

right public member functions

  1. templatetypenametypename> > typeconst;exprconst

    Узел выражения.

Требуется:

прото::is_expr::value является true

2 == Expr::proto_arity::value

Возврат:

Броски:

Не бросят.
  • templatetypename>typenameproto::право<const & > :const

  • PrevUpHomeNext

    Статья Struct right раздела 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 02:27:43/0.0054218769073486/1