Boost logo

Boost Users :

From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-05-29 21:58:23


On Thu, May 29, 2008 at 5:28 PM, Graham Reitz <graham.cpp_at_[hidden]> wrote:
>
> data_record dr;
>
> std::copy(binary_buffer.begin(), binary_buffer.end(), /* need an
> iterator to &dr? */);
>

std::copy( binary_buffer.begin(), binary_buffer.end(),
reinterpret_cast<char*>(&dr) );


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