For std::atomic the copy constructor is deleted, and this should only compile with C++17 and higher due to copy elision:
std::atomic<int> t_int = 1;
I expected that it does not compile using -fno-elide-constructors flag, but it still compiles:
https://godbolt.org/z/nMvG5vTrK
Why is this?