
15 Jan
2006
15 Jan
'06
2:26 a.m.
"Tobias Schwinger" <tschwinger@neoscientists.org> wrote
Arkadiy Vertleyb wrote:
File iteration works good with typeof,
and you don't have to explicitly ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ specify IDs. ^^^^^^^^^^^^^^
Curious question: does it work like this
if IS_ITERATING then id <- 0 for i <- 0, i < ITERATION_DEPTH id <- id * ITERATION_FINISH(i) + FRAME_ITERATION(i) id <- encode_full_id(BOOST_PP_COUNTER, id)
?
Not really... There is nothing specific in typeof to handle this case. All you have to do is to increment the registration group inside the iterated file, so that each iteration uses its own registration group (and the same line numbers). Regards, Arkadiy