Boost logo

Boost Users :

Subject: Re: [Boost-users] question about boost pointer
From: Brian Budge (brian.budge_at_[hidden])
Date: 2012-06-08 17:50:39


On Fri, Jun 8, 2012 at 2:18 PM, young <yqin_99_at_[hidden]> wrote:
> I am working on Visual C++ application.
>
> In my class, I define a data member as boost::shared_array and new it in one
> of the member function. If this member function is called many time. Then
> the array will be "newed" many times. Is that OK?
>
> I do want to new it many time because the size of array depends on the
> function parameters.

I think we need a small code example in order to understand what you want.


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