[libcxx-commits] [PATCH] D58201: Make std::memory_order an enum class (P0439R0)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 14 09:10:28 PST 2019


zoecarver updated this revision to Diff 186855.
zoecarver added a comment.

- Add `memeory_order_t`
- Declare underlying type (and check it)
- Fix header comment
- Check type is greater than 17 (not 14)
- Remove unnessisary tests


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58201/new/

https://reviews.llvm.org/D58201

Files:
  include/atomic
  src/experimental/memory_resource.cpp
  test/std/atomics/atomics.order/memory_order.pass.cpp
  test/std/atomics/atomics.order/memory_order_new.pass.cpp
  www/cxx2a_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58201.186855.patch
Type: text/x-patch
Size: 18403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190214/5845a521/attachment-0001.bin>


More information about the libcxx-commits mailing list