De Azevedo Piovezan, Felipe via llvm-dev
2019-Feb-28 18:15 UTC
[llvm-dev] ADT/SmallSet missing operator ==?
Hello, Contrary to std::set, SmallSet does not define an operator ==. While it's not difficult to implement it, I was hoping it would be possible to use it as a drop-in replacement for std::set (modulo the fact that SmallSet does not guarantee sorted iteration order). Is there a special reason for this or is it just a matter that nobody was ever interested in it? Thanks -- Felipe -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190228/e704edfd/attachment.html>
Chris Lattner via llvm-dev
2019-Mar-02 17:11 UTC
[llvm-dev] ADT/SmallSet missing operator ==?
> On Feb 28, 2019, at 10:15 AM, De Azevedo Piovezan, Felipe via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hello, > > Contrary to std::set, SmallSet does not define an operator ==. While it’s not difficult to implement it, I was hoping it would be possible to use it as a drop-in replacement for std::set (modulo the fact that SmallSet does not guarantee sorted iteration order). > Is there a special reason for this or is it just a matter that nobody was ever interested in it? >I think that no one ever got around to implementing it. Patches welcome! :-) -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190302/1156fffe/attachment.html>