Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export each of the memory_order enumerators
The lib/atomic.h exports memory_order enum into the global namespace, but none of its enumerators. According to Section 7.3.3 "The using declaration" of the C++ standard: "specifying an enumeration name in a using-declaration does not declare its enumerators in the using-declaration's declarative region." See also: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0943r1.html Signed-off-by: Sergei Korneichuk <sergei.korneichuk@amd.com>
- Loading branch information