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

Struct template make_expr<Tag, Domain, A...>

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 make_expr<Tag, Domain, A...>

boost::proto::result_of::make_expr<Tag, Domain, A...> — Metafunction that computes the return type of the proto::make_expr() function, within the specified domain.

Synopsis

// In header: <boost/proto/make_expr.hpp>
template<typename Tag, typename Domain, typename... A> 
struct make_expr<Tag, Domain, A...> {
  // types
  typedef see-below type;
};

Description

Вычисляет тип возврата функции<proto::make_expr()>.

make_expr public types

  1. Typedefсм.-ниже;

    Пусть<WRAP<X>>будет определено так, что:

    • Если<X>это<Y &>или (возможно, квалификация cv)<boost::reference_wrapper<Y>>, то<WRAP<X>>эквивалентно<proto::result_of::as_child<Y, Domain>>.

    • В противном случае<WRAP<X>>эквивалентно<proto::result_of::as_expr<X, Domain>>

      .

    Если<proto::wants_basic_expr<typename Domain::proto_generator>::value>истинно, то пусть<E>будет<proto::basic_expr>, иначе пусть<E>будет<proto::expr>.

    Если<Tag>—<proto::tag::terminal>, то<type>— типеф<typenameWRAP<A0>>::тип.

    Otherwise, type is a typedef for boost::result_of<Domain(E< Tag, proto::listN< typename WRAP<A>::type...> >)>::type


PrevUpHomeNext

Статья Struct template make_expr<Tag, Domain, A...> раздела 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 20:49:52/0.0081379413604736/1