[libcxx-commits] [PATCH] D58582: Implement P0433: deduction guides for <set>

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 29 09:24:46 PDT 2019


Quuxplusone marked 5 inline comments as done.
Quuxplusone added inline comments.


================
Comment at: include/set:862
+set(_InputIterator, _InputIterator, _Allocator)
+  -> set<typename iterator_traits<_InputIterator>::value_type,
+         less<typename iterator_traits<_InputIterator>::value_type>, _Allocator>;
----------------
mclow.lists wrote:
> Any reason that you're not using `__iter_value_type` here? (Besides that it is declared in D58587)
No, I think just that it's declared in D58587. I was thinking of <set> as the first thing to land and then <map> after that, but I see how it might make more sense to land <map> first, with all the helper aliases, and then rebase <set> on top of it.


Repository:
  rCXX libc++

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

https://reviews.llvm.org/D58582





More information about the libcxx-commits mailing list