[cfe-dev] How does Clang implement unordered_sets?

Eli Bendersky via cfe-dev cfe-dev at lists.llvm.org
Fri Jan 8 14:49:14 PST 2016


On Fri, Jan 8, 2016 at 12:59 PM, Montana Burr via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hi,
>
>     I'm new to C++, and I've been doing some research on unordered_sets.
> As I understand, an unordered_set is a hash table that contains a key that
> is also its value. What I'd like to know is how Clang figures out where
> objects in unordered_sets go.
> --
>

Clang is a compiler front-end. unordered_set should be implemented by the
standard library. Is this what you're after:
https://github.com/llvm-mirror/libcxx/blob/master/include/unordered_set ?

Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160108/498a315b/attachment.html>


More information about the cfe-dev mailing list