[libcxx-commits] [PATCH] D81425: [libc++] Don't force a conversion to difference_type in std::advance

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 16 07:42:50 PDT 2020


mclow.lists added a comment.

I wouldn't change the `__advance` definitions.  That's just spreading the pain around.  Convert from `Distance` to `iterator_traits<...>::difference_type ` in `advance`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81425





More information about the libcxx-commits mailing list