
30 Apr
2010
30 Apr
'10
3:07 p.m.
Janek Kozicki said: (by the date of Fri, 30 Apr 2010 17:04:53 +0200)
What would it take to get this code to work?
std::vector<boost::atomic<Something> > v; v.resize(100);
Just for the question to be complete, that's my Something class: class Something { private: int val; public: Something(){}; Something(int i):val(i){}; void set_val(int i) {val=i;}; int get_val() {return val;}; }; But that 'int' is just a placeholder. This class is intended to be a bit more complex... best regards -- Janek Kozicki http://janek.kozicki.pl/ |