Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] proto::reverse_fold_tree
From: Eric Niebler (eric_at_[hidden])
Date: 2009-02-02 16:22:14


Kim Kuen Tang wrote:
> Eric Niebler schrieb:
>>>
>>
> Ok, i have understood that child nodes must share a tag type with the
> parent node as indicated by the document
>
> template<typename Tag, typename Fun>
> struct recurse_if_ :
<anip>
> {};
>
> So my next step will be to define my own fold function.
> Thanks a lot to all the people here.

You shouldn't have to redefine fold. You'll need to redefine recurse_if_
as used by fold_tree. Good luck.

-- 
Eric Niebler
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