[libcxx-commits] [PATCH] D58332: Erase-Like Algorithms Should Return size_type (P0646R1)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Feb 17 15:14:02 PST 2019


zoecarver created this revision.
zoecarver added reviewers: EricWF, mclow.lists, howard.hinnant.
Herald added subscribers: libcxx-commits, ldionne.

This patch changes the return type of "Erase-Like Algorithms" to `size_type` and updates tests accordingly.

For reference P0646R1 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0646r1.pdf>.


Repository:
  rCXX libc++

https://reviews.llvm.org/D58332

Files:
  include/forward_list
  include/list
  test/std/containers/sequences/forwardlist/forwardlist.ops/remove.pass.cpp
  test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp
  test/std/containers/sequences/forwardlist/forwardlist.ops/unique.pass.cpp
  test/std/containers/sequences/list/list.ops/remove.pass.cpp
  test/std/containers/sequences/list/list.ops/remove_if.pass.cpp
  test/std/containers/sequences/list/list.ops/unique.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58332.187175.patch
Type: text/x-patch
Size: 17633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190217/3060e628/attachment.bin>


More information about the libcxx-commits mailing list