libstdc++
std::__debug Namespace Reference

Classes

class  bitset
 
class  deque
 
class  forward_list
 
class  list
 
class  map
 
class  multimap
 
class  multiset
 
class  set
 
class  unordered_map
 
class  unordered_multimap
 
class  unordered_multiset
 
class  unordered_set
 
class  vector
 

Functions

template<std::size_t _Int, typename _Tp , std::size_t _Nm>
constexpr _Tp & get (array< _Tp, _Nm > &__arr) noexcept
 
template<std::size_t _Int, typename _Tp , std::size_t _Nm>
constexpr _Tp && get (array< _Tp, _Nm > &&__arr) noexcept
 
template<std::size_t _Int, typename _Tp , std::size_t _Nm>
constexpr const _Tp & get (const array< _Tp, _Nm > &__arr) noexcept
 
template<typename _Tp , std::size_t _Nm>
bool operator!= (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
 
template<typename _Value , typename _Hash , typename _Pred , typename _Alloc >
bool operator!= (const unordered_set< _Value, _Hash, _Pred, _Alloc > &__x, const unordered_set< _Value, _Hash, _Pred, _Alloc > &__y)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator!= (const multiset< _Key, _Compare, _Allocator > &__lhs, const multiset< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator!= (const set< _Key, _Compare, _Allocator > &__lhs, const set< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator!= (const multimap< _Key, _Tp, _Compare, _Allocator > &__lhs, const multimap< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Hash , typename _Pred , typename _Alloc >
bool operator!= (const unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)
 
template<typename _Tp , typename _Alloc >
bool operator!= (const deque< _Tp, _Alloc > &__lhs, const deque< _Tp, _Alloc > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator!= (const map< _Key, _Tp, _Compare, _Allocator > &__lhs, const map< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator!= (const vector< _Tp, _Alloc > &__lhs, const vector< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator!= (const list< _Tp, _Alloc > &__lhs, const list< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator!= (const forward_list< _Tp, _Alloc > &__lx, const forward_list< _Tp, _Alloc > &__ly)
 
template<typename _Value , typename _Hash , typename _Pred , typename _Alloc >
bool operator!= (const unordered_multiset< _Value, _Hash, _Pred, _Alloc > &__x, const unordered_multiset< _Value, _Hash, _Pred, _Alloc > &__y)
 
template<typename _Key , typename _Tp , typename _Hash , typename _Pred , typename _Alloc >
bool operator!= (const unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)
 
template<size_t _Nb>
bitset< _Nb > operator& (const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
 
template<typename _Tp , std::size_t _Nm>
bool operator< (const array< _Tp, _Nm > &__a, const array< _Tp, _Nm > &__b)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator< (const multiset< _Key, _Compare, _Allocator > &__lhs, const multiset< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator< (const set< _Key, _Compare, _Allocator > &__lhs, const set< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator< (const multimap< _Key, _Tp, _Compare, _Allocator > &__lhs, const multimap< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator< (const deque< _Tp, _Alloc > &__lhs, const deque< _Tp, _Alloc > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator< (const map< _Key, _Tp, _Compare, _Allocator > &__lhs, const map< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator< (const vector< _Tp, _Alloc > &__lhs, const vector< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator< (const forward_list< _Tp, _Alloc > &__lx, const forward_list< _Tp, _Alloc > &__ly)
 
template<typename _Tp , typename _Alloc >
bool operator< (const list< _Tp, _Alloc > &__lhs, const list< _Tp, _Alloc > &__rhs)
 
template<typename _CharT , typename _Traits , size_t _Nb>
std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const bitset< _Nb > &__x)
 
template<typename _Tp , std::size_t _Nm>
bool operator<= (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator<= (const multiset< _Key, _Compare, _Allocator > &__lhs, const multiset< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator<= (const set< _Key, _Compare, _Allocator > &__lhs, const set< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator<= (const multimap< _Key, _Tp, _Compare, _Allocator > &__lhs, const multimap< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator<= (const deque< _Tp, _Alloc > &__lhs, const deque< _Tp, _Alloc > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator<= (const map< _Key, _Tp, _Compare, _Allocator > &__lhs, const map< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator<= (const vector< _Tp, _Alloc > &__lhs, const vector< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator<= (const list< _Tp, _Alloc > &__lhs, const list< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator<= (const forward_list< _Tp, _Alloc > &__lx, const forward_list< _Tp, _Alloc > &__ly)
 
template<typename _Tp , std::size_t _Nm>
bool operator== (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
 
template<typename _Value , typename _Hash , typename _Pred , typename _Alloc >
bool operator== (const unordered_set< _Value, _Hash, _Pred, _Alloc > &__x, const unordered_set< _Value, _Hash, _Pred, _Alloc > &__y)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator== (const multiset< _Key, _Compare, _Allocator > &__lhs, const multiset< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator== (const set< _Key, _Compare, _Allocator > &__lhs, const set< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator== (const multimap< _Key, _Tp, _Compare, _Allocator > &__lhs, const multimap< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Hash , typename _Pred , typename _Alloc >
bool operator== (const unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)
 
template<typename _Tp , typename _Alloc >
bool operator== (const deque< _Tp, _Alloc > &__lhs, const deque< _Tp, _Alloc > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator== (const map< _Key, _Tp, _Compare, _Allocator > &__lhs, const map< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator== (const vector< _Tp, _Alloc > &__lhs, const vector< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator== (const list< _Tp, _Alloc > &__lhs, const list< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator== (const forward_list< _Tp, _Alloc > &__lx, const forward_list< _Tp, _Alloc > &__ly)
 
template<typename _Value , typename _Hash , typename _Pred , typename _Alloc >
bool operator== (const unordered_multiset< _Value, _Hash, _Pred, _Alloc > &__x, const unordered_multiset< _Value, _Hash, _Pred, _Alloc > &__y)
 
template<typename _Key , typename _Tp , typename _Hash , typename _Pred , typename _Alloc >
bool operator== (const unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)
 
template<typename _Tp , std::size_t _Nm>
bool operator> (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator> (const multiset< _Key, _Compare, _Allocator > &__lhs, const multiset< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator> (const set< _Key, _Compare, _Allocator > &__lhs, const set< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator> (const multimap< _Key, _Tp, _Compare, _Allocator > &__lhs, const multimap< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator> (const deque< _Tp, _Alloc > &__lhs, const deque< _Tp, _Alloc > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator> (const map< _Key, _Tp, _Compare, _Allocator > &__lhs, const map< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator> (const vector< _Tp, _Alloc > &__lhs, const vector< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator> (const forward_list< _Tp, _Alloc > &__lx, const forward_list< _Tp, _Alloc > &__ly)
 
template<typename _Tp , typename _Alloc >
bool operator> (const list< _Tp, _Alloc > &__lhs, const list< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , std::size_t _Nm>
bool operator>= (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator>= (const multiset< _Key, _Compare, _Allocator > &__lhs, const multiset< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Compare , typename _Allocator >
bool operator>= (const set< _Key, _Compare, _Allocator > &__lhs, const set< _Key, _Compare, _Allocator > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator>= (const multimap< _Key, _Tp, _Compare, _Allocator > &__lhs, const multimap< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator>= (const deque< _Tp, _Alloc > &__lhs, const deque< _Tp, _Alloc > &__rhs)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
bool operator>= (const map< _Key, _Tp, _Compare, _Allocator > &__lhs, const map< _Key, _Tp, _Compare, _Allocator > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator>= (const vector< _Tp, _Alloc > &__lhs, const vector< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator>= (const list< _Tp, _Alloc > &__lhs, const list< _Tp, _Alloc > &__rhs)
 
template<typename _Tp , typename _Alloc >
bool operator>= (const forward_list< _Tp, _Alloc > &__lx, const forward_list< _Tp, _Alloc > &__ly)
 
template<typename _CharT , typename _Traits , size_t _Nb>
std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, bitset< _Nb > &__x)
 
template<size_t _Nb>
bitset< _Nb > operator^ (const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
 
template<size_t _Nb>
bitset< _Nb > operator| (const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
 
template<typename _Tp , std::size_t _Nm>
void swap (array< _Tp, _Nm > &__one, array< _Tp, _Nm > &__two) noexcept(noexcept(__one.swap(__two)))
 
template<typename _Value , typename _Hash , typename _Pred , typename _Alloc >
void swap (unordered_set< _Value, _Hash, _Pred, _Alloc > &__x, unordered_set< _Value, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x.swap(__y)))
 
template<typename _Key , typename _Compare , typename _Allocator >
void swap (multiset< _Key, _Compare, _Allocator > &__x, multiset< _Key, _Compare, _Allocator > &__y) noexcept(/*conditional */)
 
template<typename _Key , typename _Compare , typename _Allocator >
void swap (set< _Key, _Compare, _Allocator > &__x, set< _Key, _Compare, _Allocator > &__y) noexcept(/*conditional */)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
void swap (multimap< _Key, _Tp, _Compare, _Allocator > &__lhs, multimap< _Key, _Tp, _Compare, _Allocator > &__rhs) noexcept(/*conditional */)
 
template<typename _Key , typename _Tp , typename _Hash , typename _Pred , typename _Alloc >
void swap (unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x.swap(__y)))
 
template<typename _Tp , typename _Alloc >
void swap (deque< _Tp, _Alloc > &__lhs, deque< _Tp, _Alloc > &__rhs) noexcept(/*conditional */)
 
template<typename _Key , typename _Tp , typename _Compare , typename _Allocator >
void swap (map< _Key, _Tp, _Compare, _Allocator > &__lhs, map< _Key, _Tp, _Compare, _Allocator > &__rhs) noexcept(/*conditional */)
 
template<typename _Tp , typename _Alloc >
void swap (vector< _Tp, _Alloc > &__lhs, vector< _Tp, _Alloc > &__rhs) noexcept(/*conditional */)
 
template<typename _Tp , typename _Alloc >
void swap (list< _Tp, _Alloc > &__lhs, list< _Tp, _Alloc > &__rhs) noexcept(/*conditional */)
 
template<typename _Tp , typename _Alloc >
void swap (forward_list< _Tp, _Alloc > &__lx, forward_list< _Tp, _Alloc > &__ly) noexcept(noexcept(__lx.swap(__ly)))
 
template<typename _Value , typename _Hash , typename _Pred , typename _Alloc >
void swap (unordered_multiset< _Value, _Hash, _Pred, _Alloc > &__x, unordered_multiset< _Value, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x.swap(__y)))
 
template<typename _Key , typename _Tp , typename _Hash , typename _Pred , typename _Alloc >
void swap (unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x.swap(__y)))
 

Detailed Description

GNU debug code, replaces standard behavior with debug behavior.

Macros and namespaces used by the implementation outside of debug wrappers to verify certain properties. The __glibcxx_requires_xxx macros are merely wrappers around the __glibcxx_check_xxx wrappers when we are compiling with debug mode, but disappear when we are in release mode so that there is no checking performed in, e.g., the standard library algorithms.

Function Documentation

template<typename _Tp , typename _Alloc >
bool std::__debug::operator<= ( const forward_list< _Tp, _Alloc > &  __lx,
const forward_list< _Tp, _Alloc > &  __ly 
)
inline

Based on operator<.

Definition at line 810 of file debug/forward_list.

template<typename _Tp , typename _Alloc >
bool std::__debug::operator> ( const forward_list< _Tp, _Alloc > &  __lx,
const forward_list< _Tp, _Alloc > &  __ly 
)
inline

Based on operator<.

Definition at line 796 of file debug/forward_list.

template<typename _Tp , typename _Alloc >
bool std::__debug::operator>= ( const forward_list< _Tp, _Alloc > &  __lx,
const forward_list< _Tp, _Alloc > &  __ly 
)
inline

Based on operator<.

Definition at line 803 of file debug/forward_list.

template<typename _Tp , typename _Alloc >
void std::__debug::swap ( forward_list< _Tp, _Alloc > &  __lx,
forward_list< _Tp, _Alloc > &  __ly 
)
inlinenoexcept

See std::forward_list::swap().

Definition at line 817 of file debug/forward_list.