$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.