title: efficent way of casting or converting vector of atomic int to vector of int
body: <p>I do have a vector of integer that I want to ensure increment operations happening thread-safe, so I used <code>std::vector&lt;std::atomic&lt;int&gt;&gt;</code> after all parallel increments I need non-atomic vector <code>std::vector&lt;int&gt;</code>. Is there an efficient way to do so, without copying? The vector is very large and performance is very important.</p>