Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-26 14:19:27


AMDG

Olaf Peter wrote:
> std::for_each( &blk->buffer,
> &blk->buffer + sizeof( blk->buffer ),
> sum += *_1 );
>

try &blk->buffer[0]

In Christ,
Steven Watanabe


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