[libcxx-commits] [PATCH] D61771: Comparing Unordered Containers (P0809)
Marshall Clow via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 10 08:02:33 PDT 2019
mclow.lists added inline comments.
================
Comment at: include/unordered_set:1006
+ _VSTD::distance(__yeq.first, __yeq.second) ||
+ !_VSTD::is_permutation(__xeq.first, __xeq.second, __yeq.first))
return false;
----------------
zoecarver wrote:
> mclow.lists wrote:
> > No need for `is_permutation`, again.
> The standard specifically says to use `is_permutation` (for both set and multiset, etc.).
Yeah, I see that. I'm reviewing that and the original papers. I'll get back to you.
Repository:
rCXX libc++
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61771/new/
https://reviews.llvm.org/D61771
More information about the libcxx-commits
mailing list