|
Boost Users : |
Subject: Re: [Boost-users] passing a boost.array to a c function, and boost.System
From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2009-02-02 03:38:07
On Mon, Feb 02, 2009 at 08:11:12AM -0000, Sean Farrow wrote:
>
> 1. How can I pass a boost.array to this function, I need to pass the
> undedrlying array, not the boost.array class.
>
Obviously, f(&x[0]) works for any container x that stores elements
contiguously. Furthermore, documentation mentions the c_array() method as well
as the elems data member.
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