Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] Splitting AST
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2009-03-02 14:23:31


Eric Niebler a écrit :
> You're right, that's tricky. I'll think about it as time allows.
Best I have is having a state which is a pair of mpl::int and
fusion::vector. Each split push_back its siblings, add the proper
placeholder to its parent and increment the placehodler # in the state.
Hardest part is putting the placeholder in the parent :/

Maybe a two pass trasnform is needed ?

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

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