<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libstdc++: std::__profile::unordered_set< _Key, _Hash, _Pred, _Alloc > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libstdc++</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('a00313.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">std::__profile::unordered_set< _Key, _Hash, _Pred, _Alloc > Class Template Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="std::__profile::unordered_set" --><!-- doxytag: inherits="_GLIBCXX_STD_BASE" --> <p>Unordered_set wrapper with performance instrumentation. <a href="a00313.html#details">More...</a></p> <p>Inherits _GLIBCXX_STD_BASE.</p> <p><a href="a02491.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li><a class="anchor" id="a80fa99447485032bcdca01c1a2f0bf7c"></a><!-- doxytag: member="std::__profile::unordered_set::allocator_type" ref="a80fa99447485032bcdca01c1a2f0bf7c" args="" --> typedef _Base::allocator_type <b>allocator_type</b> <li><a class="anchor" id="a563f6fbfcb1bd8b885e26ab43629407f"></a><!-- doxytag: member="std::__profile::unordered_set::const_iterator" ref="a563f6fbfcb1bd8b885e26ab43629407f" args="" --> typedef _Base::const_iterator <b>const_iterator</b> <li><a class="anchor" id="ae24845f3d40bd9cff71599f094731df9"></a><!-- doxytag: member="std::__profile::unordered_set::const_reference" ref="ae24845f3d40bd9cff71599f094731df9" args="" --> typedef _Base::const_reference <b>const_reference</b> <li><a class="anchor" id="a1f07e9f9a601e0942c576d0031f8e688"></a><!-- doxytag: member="std::__profile::unordered_set::difference_type" ref="a1f07e9f9a601e0942c576d0031f8e688" args="" --> typedef _Base::difference_type <b>difference_type</b> <li><a class="anchor" id="aebbe7bae301824c9e872bfd4f5b001d7"></a><!-- doxytag: member="std::__profile::unordered_set::hasher" ref="aebbe7bae301824c9e872bfd4f5b001d7" args="" --> typedef _Base::hasher <b>hasher</b> <li><a class="anchor" id="ac529905c35f32854c1edea90b3a573bc"></a><!-- doxytag: member="std::__profile::unordered_set::iterator" ref="ac529905c35f32854c1edea90b3a573bc" args="" --> typedef _Base::iterator <b>iterator</b> <li><a class="anchor" id="a3c4fc4db9899e65420c8a49bbaee5562"></a><!-- doxytag: member="std::__profile::unordered_set::key_equal" ref="a3c4fc4db9899e65420c8a49bbaee5562" args="" --> typedef _Base::key_equal <b>key_equal</b> <li><a class="anchor" id="af283d9ecfb0ec88bcf8f15d0c629e029"></a><!-- doxytag: member="std::__profile::unordered_set::key_type" ref="af283d9ecfb0ec88bcf8f15d0c629e029" args="" --> typedef _Base::key_type <b>key_type</b> <li><a class="anchor" id="aba819203ddbc10aba75dc071dccf0680"></a><!-- doxytag: member="std::__profile::unordered_set::reference" ref="aba819203ddbc10aba75dc071dccf0680" args="" --> typedef _Base::reference <b>reference</b> <li><a class="anchor" id="a3d36f3b3c1e2d4fc132e8929d018e924"></a><!-- doxytag: member="std::__profile::unordered_set::size_type" ref="a3d36f3b3c1e2d4fc132e8929d018e924" args="" --> typedef _Base::size_type <b>size_type</b> <li><a class="anchor" id="a4cbc582e6d58c9dceeeeec022a685797"></a><!-- doxytag: member="std::__profile::unordered_set::value_type" ref="a4cbc582e6d58c9dceeeeec022a685797" args="" --> typedef _Base::value_type <b>value_type</b> </ul> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="anchor" id="a93c54964d8c1e8a94e9cc64317797cc5"></a><!-- doxytag: member="std::__profile::unordered_set::unordered_set" ref="a93c54964d8c1e8a94e9cc64317797cc5" args="(size_type __n=10, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())" --> <b>unordered_set</b> (size_type __n=10, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type()) <li><a class="anchor" id="af72449f2216fdf4d86f2e359cf3972d1"></a><!-- doxytag: member="std::__profile::unordered_set::unordered_set" ref="af72449f2216fdf4d86f2e359cf3972d1" args="(_InputIterator __f, _InputIterator __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())" --> template<typename _InputIterator > <b>unordered_set</b> (_InputIterator __f, _InputIterator __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type()) <li><a class="anchor" id="aae83d0fa28a0e797e4cfc5d4ec92591e"></a><!-- doxytag: member="std::__profile::unordered_set::unordered_set" ref="aae83d0fa28a0e797e4cfc5d4ec92591e" args="(unordered_set &&__x)" --> <b>unordered_set</b> (<a class="el" href="a00313.html">unordered_set</a> &&__x) <li><a class="anchor" id="a32166ae84fc48b0bc6ef1226ff59aeb9"></a><!-- doxytag: member="std::__profile::unordered_set::unordered_set" ref="a32166ae84fc48b0bc6ef1226ff59aeb9" args="(initializer_list< value_type > __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())" --> <b>unordered_set</b> (<a class="el" href="a00524.html">initializer_list</a>< value_type > __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type()) <li><a class="anchor" id="a9beaa126d14eea5ce66af24823545a47"></a><!-- doxytag: member="std::__profile::unordered_set::unordered_set" ref="a9beaa126d14eea5ce66af24823545a47" args="(const _Base &__x)" --> <b>unordered_set</b> (const _Base &__x) <li><a class="anchor" id="a6e35736fe8badc71d16760ca2da9c3de"></a><!-- doxytag: member="std::__profile::unordered_set::clear" ref="a6e35736fe8badc71d16760ca2da9c3de" args="()" --> void <b>clear</b> () <li><a class="anchor" id="a773be9482ed89e626de691b2d91afdcc"></a><!-- doxytag: member="std::__profile::unordered_set::insert" ref="a773be9482ed89e626de691b2d91afdcc" args="(_InputIter __first, _InputIter __last)" --> template<typename _InputIter > void <b>insert</b> (_InputIter __first, _InputIter __last) <li><a class="anchor" id="a6f57e6f676df74e6bb4cc4076d3af2be"></a><!-- doxytag: member="std::__profile::unordered_set::insert" ref="a6f57e6f676df74e6bb4cc4076d3af2be" args="(const_iterator __iter, value_type &&__v)" --> iterator <b>insert</b> (const_iterator __iter, value_type &&__v) <li><a class="anchor" id="aa7f0a0a2eb606472dca3a58252df3af2"></a><!-- doxytag: member="std::__profile::unordered_set::insert" ref="aa7f0a0a2eb606472dca3a58252df3af2" args="(const value_type *__first, const value_type *__last)" --> void <b>insert</b> (const value_type *__first, const value_type *__last) <li><a class="anchor" id="ad4c100bbfa07c29b665bcf64317d4daf"></a><!-- doxytag: member="std::__profile::unordered_set::insert" ref="ad4c100bbfa07c29b665bcf64317d4daf" args="(value_type &&__obj)" --> <a class="el" href="a00263.html">std::pair</a>< iterator, bool > <b>insert</b> (value_type &&__obj) <li><a class="anchor" id="a05182856192cdcfa1c40fe8cc4cdbc40"></a><!-- doxytag: member="std::__profile::unordered_set::insert" ref="a05182856192cdcfa1c40fe8cc4cdbc40" args="(std::initializer_list< value_type > __l)" --> void <b>insert</b> (<a class="el" href="a00524.html">std::initializer_list</a>< value_type > __l) <li><a class="anchor" id="abeebc45b546db33eea1f4020a0c72440"></a><!-- doxytag: member="std::__profile::unordered_set::insert" ref="abeebc45b546db33eea1f4020a0c72440" args="(const value_type &__obj)" --> <a class="el" href="a00263.html">std::pair</a>< iterator, bool > <b>insert</b> (const value_type &__obj) <li><a class="anchor" id="adc10a6d196abd293e96c4c449d52eaa1"></a><!-- doxytag: member="std::__profile::unordered_set::insert" ref="adc10a6d196abd293e96c4c449d52eaa1" args="(const_iterator __iter, const value_type &__v)" --> iterator <b>insert</b> (const_iterator __iter, const value_type &__v) <li><a class="anchor" id="a3983a3df09872217e272dda10d9366ab"></a><!-- doxytag: member="std::__profile::unordered_set::operator=" ref="a3983a3df09872217e272dda10d9366ab" args="(const unordered_set &__x)" --> <a class="el" href="a00313.html">unordered_set</a> & <b>operator=</b> (const <a class="el" href="a00313.html">unordered_set</a> &__x) <li><a class="anchor" id="af2cb3e0323aa73d100dcddb9f96196c5"></a><!-- doxytag: member="std::__profile::unordered_set::operator=" ref="af2cb3e0323aa73d100dcddb9f96196c5" args="(unordered_set &&__x)" --> <a class="el" href="a00313.html">unordered_set</a> & <b>operator=</b> (<a class="el" href="a00313.html">unordered_set</a> &&__x) <li><a class="anchor" id="aa776bfe9523041ba95dce89f844f3318"></a><!-- doxytag: member="std::__profile::unordered_set::operator=" ref="aa776bfe9523041ba95dce89f844f3318" args="(initializer_list< value_type > __l)" --> <a class="el" href="a00313.html">unordered_set</a> & <b>operator=</b> (<a class="el" href="a00524.html">initializer_list</a>< value_type > __l) <li><a class="anchor" id="a71d76c9ffd67355353f9cf8cf236fbd6"></a><!-- doxytag: member="std::__profile::unordered_set::rehash" ref="a71d76c9ffd67355353f9cf8cf236fbd6" args="(size_type __n)" --> void <b>rehash</b> (size_type __n) <li><a class="anchor" id="a7115d77856e12db755c5dbf1748be632"></a><!-- doxytag: member="std::__profile::unordered_set::swap" ref="a7115d77856e12db755c5dbf1748be632" args="(unordered_set &__x)" --> void <b>swap</b> (<a class="el" href="a00313.html">unordered_set</a> &__x) </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _Key, typename _Hash = std::hash<_Key>, typename _Pred = std::equal_to<_Key>, typename _Alloc = std::allocator<_Key>><br/> class std::__profile::unordered_set< _Key, _Hash, _Pred, _Alloc ></h3> <p>Unordered_set wrapper with performance instrumentation. </p> <p>Definition at line <a class="el" href="a01106_source.html#l00050">50</a> of file <a class="el" href="a01106_source.html">profile/unordered_set</a>.</p> </div><hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a01106_source.html">profile/unordered_set</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01137.html">std</a> </li> <li class="navelem"><a class="el" href="a01146.html">__profile</a> </li> <li class="navelem"><a class="el" href="a00313.html">unordered_set</a> </li> <li class="footer">Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li> </ul> </div> </body> </html>