
1 Jul
2011
1 Jul
'11
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