Boost logo

Boost :

Subject: Re: [boost] boost atomic question
From: edouard_at_[hidden]
Date: 2010-04-30 11:12:50


On Fri, 30 Apr 2010 17:04:53 +0200, Janek Kozicki <janek_listy_at_[hidden]>
wrote:
> What would it take to get this code to work?
>
> std::vector<boost::atomic<Something> > v;
> v.resize(100);

Hi Janek,

I'd like to know what's your goal when you declare a vector of "atomic"
variables. What is the result you are looking for?

Regards.

-Edouard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk