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

Struct template transform

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 transform

boost::proto::transform — Inherit from this to make your type a PrimitiveTransform.

Synopsis

// In header: <boost/proto/transform/impl.hpp>
template<typename PrimitiveTransform> 
struct transform {
  // types
  typedef PrimitiveTransform transform_type;
  // member classes/structs/unions
  template<typename This, typename Expr> 
  struct result<This(Expr)> {
    // types
    typedef typename PrimitiveTransform::template impl< Expr, unspecified, unspecified >::result_type type;
  };
  template<typename This, typename Expr, typename State> 
  struct result<This(Expr, State)> {
    // types
    typedef typename PrimitiveTransform::template impl< Expr, State, unspecified >::result_type type;
  };
  template<typename This, typename Expr, typename State, typename Data> 
  struct result<This(Expr, State, Data)> {
    // types
    typedef typename PrimitiveTransform::template impl< Expr, State, Data >::result_type type;
  };
  // public member functions
  template<typename Expr> 
    typename PrimitiveTransform::template impl<Expr &, unspecified, unspecified>::result_type 
    operator()(Expr &) const;
  template<typename Expr, typename State> 
    typename PrimitiveTransform::template impl<Expr &, State &, unspecified>::result_type 
    operator()(Expr &, State &) const;
  template<typename Expr, typename State> 
    typename PrimitiveTransform::template impl<Expr &, State const &, unspecified>::result_type 
    operator()(Expr &, State const &) const;
  template<typename Expr, typename State, typename Data> 
    typename PrimitiveTransform::template impl<Expr &, State &, Data &>::result_type 
    operator()(Expr &, State &, Data &) const;
  template<typename Expr, typename State, typename Data> 
    typename PrimitiveTransform::template impl<Expr &, State const &, Data &>::result_type 
    operator()(Expr &, State const &, Data &) const;
};

Description

transform public member functions

  1. <
    template<typenameExpr>
     typenamePrimitiveTransform::templateimpl<Expr&,unspecified,unspecified>::result_type
     operator()(Expr&expr)const;
    >

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

    < typename PrimitiveTransform::template impl<Expr &,unspecified>>[] [<unspecified>
  2. <
    template<typenameExpr,typenameState>
     typenamePrimitiveTransform::templateimpl<Expr&,State&,unspecified>::result_type
     operator()(Expr&expr,State&state)const;
    >

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

    < typename PrimitiveTransform::template impl<Expr &, State &,unspecified>>() [эксперт, состояние,<unspecified>]
  3. <
    template<typenameExpr,typenameState>
     typenamePrimitiveTransform::templateimpl<Expr&,Stateconst&,unspecified>::result_type
     operator()(Expr&expr,Stateconst&state)const;
    >

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

< typename PrimitiveTransform::template impl<Expr &, State const &,unspecified>>() [эксперт, штат,<unspecified>]
  • <
    template<typenameExpr,typenameState,typenameData>
     typenamePrimitiveTransform::templateimpl<Expr&,State&,Data&>::result_type
     operator()(Expr&expr,State&state,Data&data)const;
    >

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

    < typename PrimitiveTransform::template impl<Expr &, State &, Data &>()(expr, state, data) >
  • <
    template<typenameExpr,typenameState,typenameData>
     typenamePrimitiveTransform::templateimpl<Expr&,Stateconst&,Data&>::result_type
     operator()(Expr&expr,Stateconst&state,Data&data)const;
    >

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

    < typename PrimitiveTransform::template impl<Expr &, State const &, Data &>()(expr, state, data) >

  • PrevUpHomeNext

    Статья Struct template transform раздела 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 03:32:29/0.0038421154022217/0