problems on iterating over a fusion sequence

1 Jul
2011
1 Jul
'11
6:41 p.m.
Hi, in the example below, the loop runs forever. What is the reason for this? I'm using trunk 72818 Thanks, Olaf

1 Jul
1 Jul
7:03 p.m.
--- On Fri, 7/1/11, Olaf Peter wrote:
Hi,
Hi, Olaf.
In the example below, the loop runs forever. What is the reason for this? I'm using trunk 72818
The fusion::next() function returns the iterator to the next element. It does not change the input iterator in place. You'll need to wrap your looped output stream statement in a custom function object, then replace your loop with a fusion::for_each() statement that uses your function object. HTH, Cromwell D. Enage
4985
Age (days ago)
4985
Last active (days ago)
1 comments
2 participants
participants (2)
-
Cromwell Enage
-
Olaf Peter