title: initialization of atomic variables in c++0x
body: <p>Can atomic variables in c++0x be initialized globally?</p>
  
  <p>For e.g. </p>
  
  <pre><code>atomic_int turnX = 5;
  int main(){
      ....
  }
  </code></pre>
  
  <p>fails with 
  error: deleted function ‘std::atomic::atomic(const std::atomic&amp;)’</p>
  
  <p>looking at atomic_2.h does give an idea that this is not allowed. Am I correct in making a statement that atomic variables can be assigned values only from within a function?</p>