26 Jun
2008
26 Jun
'08
7 p.m.
Steven Watanabe schrieb:
AMDG
Olaf Peter wrote:
Thanks Steven ,
std::for_each( &blk->buffer, &blk->buffer + sizeof( blk->buffer ), sum += *_1 );
with this I get huge compiler errors (very long).
You don't need to dereference the iterator. Lambda dereferences it for you.
That's it, I was looking on the wrong place ... Thanks, Olaf