[libcxx-commits] [PATCH] D99863: [libcxx] adds `iter_difference_t` and `iter_value_t`

Michael Schellenberger Costa via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 4 12:28:36 PDT 2021


miscco added inline comments.


================
Comment at: libcxx/include/iterator:492
+requires __is_primary_template<iterator_traits<_Ip>>::value &&
+         (__has_member_difference_type<_Ip> || __has_integral_minus<_Ip>)
+struct __extract_iter_difference_t<_Ip> {
----------------
miscco wrote:
> The `__has_integral_minus` Is not obvious should have add a comment?
Please disregard, read the other patch


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99863



More information about the libcxx-commits mailing list