Boost logo

Boost Users :

Subject: Re: [Boost-users] [array] with variable size
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-20 12:34:02


Hicham Mouline wrote:
> It doesn't provide a pointer to the internal array that is required by
> my 3rd party lib...?

Sure it does.

vector<double> v;

double* pDouble = &v[0];

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at