STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
unordered_set File Reference
#include <xhash>

Classes

class  _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >
 
class  unordered_set< _Kty, _Hasher, _Keyeq, _Alloc >
 
class  unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc >
 

Macros

#define _UNORDERED_SET_
 

Functions

template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
void swap (unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &_Left, unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &_Right) _NOEXCEPT_OP(_NOEXCEPT_OP(_Left.swap(_Right)))
 
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator== (const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &_Left, const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &_Right)
 
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator!= (const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &_Left, const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &_Right)
 
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
void swap (unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &_Left, unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &_Right) _NOEXCEPT_OP(_NOEXCEPT_OP(_Left.swap(_Right)))
 
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator== (const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &_Left, const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &_Right)
 
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator!= (const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &_Left, const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &_Right)
 

Macro Definition Documentation

#define _UNORDERED_SET_

Function Documentation

template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator!= ( const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &  _Left,
const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &  _Right 
)
inline
363  { // test for unordered_set inequality
364  return (!(_Left == _Right));
365  }
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator!= ( const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &  _Left,
const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &  _Right 
)
inline
680  { // test for unordered_multiset inequality
681  return (!(_Left == _Right));
682  }
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator== ( const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &  _Left,
const unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &  _Right 
)
inline
352  { // test for unordered_set equality
353  return (_Hash_equal(_Left, _Right));
354  }
bool _Hash_equal(const _Hash< _Traits > &_Left, const _Hash< _Traits > &_Right)
Definition: xhash:1011
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
bool operator== ( const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &  _Left,
const unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &  _Right 
)
inline
669  { // test for unordered_multiset equality
670  return (_Hash_equal(_Left, _Right));
671  }
bool _Hash_equal(const _Hash< _Traits > &_Left, const _Hash< _Traits > &_Right)
Definition: xhash:1011
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
void swap ( unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &  _Left,
unordered_set< _Kty, _Hasher, _Keyeq, _Alloc > &  _Right 
)
341  { // swap _Left and _Right unordered_sets
342  _Left.swap(_Right);
343  }
void swap(_Myt &_Right) _NOEXCEPT_OP(_Alty
Definition: unordered_set:245
template<class _Kty , class _Hasher , class _Keyeq , class _Alloc >
void swap ( unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &  _Left,
unordered_multiset< _Kty, _Hasher, _Keyeq, _Alloc > &  _Right 
)
658  { // swap _Left and _Right unordered_multisets
659  _Left.swap(_Right);
660  }
void swap(_Myt &_Right) _NOEXCEPT_OP(_Alty
Definition: unordered_set:562