Boost logo

Boost Users :

Subject: Re: [Boost-users] generate an n-deep runtime for loop
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-01-24 04:45:43


----- Original Message -----
From: "joel falcou" <joel.falcou_at_[hidden]>
To: <boost-users_at_[hidden]>
Sent: Friday, January 22, 2010 1:41 AM
Subject: Re: [Boost-users] generate an n-deep runtime for loop

> Hicham Mouline wrote:
>I believe the compiler got stuck in an infinite loop of template
>instantiations from my code. It hasn't stopped printing instantiation
>backtraces when I interrupted it and never reached printing the actuall
>error :-)

instead of using mpl integral constants as template argument, I used size_t,
then the recursion terminates at 0.
The n-deep for loop generation works perfectly well, fantastic.

A later stage refinement will be parallelization of the whole n-deep for
loop (I'll try openmp).

regards,


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