$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [array] with variable size
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-20 11:12:23
AMDG
Hicham Mouline wrote:
> I have a third-party library that gives me a number N of doubles,
> then expects from me a double* to an array where it will set N elements
>
> This would have happen many times and N is variable,
> so I wish not to reallocate the array each time.
>
Can't you use a vector and resize it every time?
In Christ,
Steven Watanabe