This patch:
- Adds missing feature test macros for atomic
- Updates the synopsis of atomic to match what's in the file
- Fills out the implemented features table
- Correctly uses the dependent types on atomic free functions
- Correctly uses memcpy in non-lock-free atomic CAS
- Adds missing tests for atomic_flag member functions
- Adds missing test cases for non-lock-free atomic objects
It seems to have also picked up some feature-test macro generated tests that were missing (?).
At present I have tested only on Linux but I'll test on Mac before submitting.
Unrelated to your change, but the lock could come after __temp?