Boost Users :
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2008-06-26 15:00:21
Steven Watanabe schrieb:
> 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 ...
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net