
1 Sep
2009
1 Sep
'09
8:25 a.m.
klaus triendl wrote:
I wonder whether a compile-time for-loop is useful enough so that it would get included in the mpl library; it's very similar to what fold does but it can be used for computations with types other than sequence containers.
Well, fold is far more generic than for. I can't see, in a meta-programming context where side-effects don't occur, when having for_ is needed when we have fold_. -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35