fork(4) download
  1. #include <array>
  2. #include <atomic>
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. std::array<std::atomic_size_t, 10> arr{{{0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }};
  9. return 0;
  10. }
Success #stdin #stdout 0s 4496KB
stdin
Standard input is empty
stdout
Standard output is empty