// In header: <boost/proto/transform/fold.hpp>
template<typenameExpr,typename State,typename Data>structimpl:proto::transform_impl<Expr,State,Data>{// typestypedefwhen<_,Sequence>X;// For exposition onlytypedefwhen<_,State0>Y;// For exposition onlytypedeftypenameboost::result_of<X(Expr,State,Data)>::typeseq;// A Fusion sequence, for exposition onlytypedeftypenameboost::result_of<Y(Expr,State,Data)>::typestate0;// An initial state for the fold, for exposition onlytypedefunspecifiedfun;// fun(d)(s,e) == when<_,Fun>()(e,s,d)typedeftypenamefusion::result_of::fold<seq,state0,fun>::typeresult_type;// public member functionsresult_typeoperator()(typenameimpl::expr_param,typenameimpl::state_param,typenameimpl::data_param)const;};
Description
impl public member functions
>посмотреть>> >>
Статья Struct template impl раздела The Boost C++ Libraries BoostBook Documentation Subset Struct template fold может быть полезна для разработчиков на c++ и boost.