Boost logo

Boost Users :

Subject: Re: [Boost-users] generate an n-deep runtime for loop
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-01-21 13:41:19


Hicham Mouline wrote:
> <snip>
> is this possible?
Yes,
you'll need to build a recursive function that takes your vector and an
mpl::int_ as a n arguments, geenrate a for loop on current fusion element
then call itself while incrementing the mpl::int_. Terminal case stop
the for loop generation and generate the inner body.

-- 
___________________________________________
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