Boost logo

Boost Users :

Subject: Re: [Boost-users] Placeholders and iterator arithmetic in MPL
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-08-18 11:49:55


On Wed, Aug 18, 2010 at 7:23 AM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> Rob Platt wrote:
>>
>> struct fails
>> {
>>        typedef typename reverse_iter_fold<
>>                T,
>>                vector_c<long>,
>>                push_front<_1,
>>                        deref< next<_2> >
>>                > >::type type;
>> };

and stylistically, may I suggest

   struct fails : reverse_iter_fold< .... > {};

?

Cheers

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net