[PATCH] D54966: Implement P1007R3 `std::assume_aligned`

Marshall Clow via Phabricator reviews at reviews.llvm.org
Tue Nov 27 12:26:29 PST 2018


mclow.lists created this revision.
mclow.lists added reviewers: lebedev.ri, EricWF, ldionne.

https://wg21.link/P1007R3

This is a first cut.

- The constexpr stuff is not tested; I don't think it's going to work. Still investigating.
- Only GCC and clang are supported at the moment. I need to add other compilers.


https://reviews.llvm.org/D54966

Files:
  include/__config
  include/memory
  test/std/utilities/memory/ptr.align/assume_aligned.fail.cpp
  test/std/utilities/memory/ptr.align/assume_aligned.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54966.175554.patch
Type: text/x-patch
Size: 4589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181127/31e183ac/attachment.bin>


More information about the libcxx-commits mailing list