[PATCH] D49317: Move __construct_forward (etc.) out of std::allocator_traits.

Arthur O'Dwyer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 13 13:26:34 PDT 2018


Quuxplusone updated this revision to Diff 155473.
Quuxplusone added a comment.

Move the functions from `<memory>` to `<vector>`, since that's their only caller.
Uniform treatment of the pointer/iterator parameters; discover that the difference between "copy_forward" and "copy_range_forward" was that the former did moves and the latter did copies. Rename accordingly.


Repository:
  rCXX libc++

https://reviews.llvm.org/D49317

Files:
  include/memory
  include/vector
  test/libcxx/containers/sequences/vector/specialized_allocator_traits.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49317.155473.patch
Type: text/x-patch
Size: 12531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180713/9ba74bd4/attachment-0001.bin>


More information about the cfe-commits mailing list