[libcxx-commits] [PATCH] D75905: [libc++][P1115][C++20] Improving the Return Value of Erase-Like Algorithms II: Free erase/erase if.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 11 21:13:56 PDT 2020


zoecarver added a comment.

It would be nice if we could remove the calls to `std::difference` and replace them with a count variable so that we only have to iterate once. It may require adding a `__libcpp_ erase` function, though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75905





More information about the libcxx-commits mailing list