cplusplus
.com
教程
参考
文章
论坛
C++
教程
参考
文章
论坛
参考
C 库
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
C++11
<cfenv> (fenv.h)
<cfloat> (float.h)
C++11
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
C++11
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
C++11
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
C++11
<ctgmath> (tgmath.h)
<ctime> (time.h)
C++11
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
容器
C++11
<array>
<deque>
C++11
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
C++11
<unordered_map>
C++11
<unordered_set>
<vector>
输入/输出
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
多线程
C++11
<atomic>
C++11
<condition_variable>
C++11
<future>
C++11
<mutex>
C++11
<thread>
其他
<algorithm>
<bitset>
C++11
<chrono>
C++11
<codecvt>
<complex>
<exception>
<functional>
C++11
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
C++11
<random>
C++11
<ratio>
C++11
<regex>
<stdexcept>
<string>
C++11
<system_error>
C++11
<tuple>
C++11
<type_traits>
C++11
<typeindex>
<typeinfo>
<utility>
<valarray>
<unordered_set>
C++11
unordered_multiset
C++11
unordered_set
unordered_set
C++11
unordered_set::~unordered_set
C++11
unordered_set::unordered_set
成员函数
C++11
unordered_set::begin
C++11
unordered_set::bucket
C++11
unordered_set::bucket_count
C++11
unordered_set::bucket_size
C++11
unordered_set::cbegin
C++11
unordered_set::cend
C++11
unordered_set::clear
C++11
unordered_set::count
C++11
unordered_set::emplace
C++11
unordered_set::emplace_hint
C++11
unordered_set::empty
C++11
unordered_set::end
C++11
unordered_set::equal_range
C++11
unordered_set::erase
C++11
unordered_set::find
C++11
unordered_set::get_allocator
C++11
unordered_set::hash_function
C++11
unordered_set::insert
C++11
unordered_set::key_eq
C++11
unordered_set::load_factor
C++11
unordered_set::max_bucket_count
C++11
unordered_set::max_load_factor
C++11
unordered_set::max_size
C++11
unordered_set::operator=
C++11
unordered_set::rehash
C++11
unordered_set::reserve
C++11
unordered_set::size
C++11
unordered_set::swap
非成员重载
C++11
operators (unordered_set)
C++11
swap (unordered_set)
参考
<unordered_set>
unordered_set
~unordered_set
public member function
<unordered_set>
std::
unordered_set
::~unordered_set
~unordered_set();
销毁无序 set
销毁容器对象。这将调用所有包含元素的析构函数,并释放
unordered_set
容器分配的所有存储空间。
复杂度
线性(相对于
unordered_set::size
(析构函数))。
迭代器有效性
所有迭代器、指针和引用都将失效。