[Bug libstdc++/58982] [4.9 Regression] std::vector<std::atomic<int>> vai(10); does not compile anymore

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 8 20:35:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
And this, which is more obviously wrong:

  std::atomic<int> a[1];
  std::atomic<int> b[1];
  std::copy(a,a+1, b);



More information about the Gcc-bugs mailing list