.TH "std::__debug" 3cxx "Tue Feb 2 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::__debug \- GNU debug code, replaces standard behavior with debug behavior\&. .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "class \fBbitset\fP" .br .RI "Class std::bitset with additional safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBdeque\fP" .br .RI "Class std::deque with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBforward_list\fP" .br .RI "Class std::forward_list with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBlist\fP" .br .RI "Class std::list with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBmap\fP" .br .RI "Class std::map with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBmultimap\fP" .br .RI "Class std::multimap with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBmultiset\fP" .br .RI "Class std::multiset with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBset\fP" .br .RI "Class std::set with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBunordered_map\fP" .br .RI "Class std::unordered_map with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBunordered_multimap\fP" .br .RI "Class std::unordered_multimap with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBunordered_multiset\fP" .br .RI "Class std::unordered_multiset with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBunordered_set\fP" .br .RI "Class std::unordered_set with safety/checking/debug instrumentation\&. " .ti -1c .RI "class \fBvector\fP" .br .RI "Class std::vector with safety/checking/debug instrumentation\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "template constexpr _Tp && \fBget\fP (array< _Tp, _Nm > &&__arr) noexcept" .br .ti -1c .RI "template constexpr _Tp & \fBget\fP (array< _Tp, _Nm > &__arr) noexcept" .br .ti -1c .RI "template constexpr const _Tp && \fBget\fP (const array< _Tp, _Nm > &&__arr) noexcept" .br .ti -1c .RI "template constexpr const _Tp & \fBget\fP (const array< _Tp, _Nm > &__arr) noexcept" .br .ti -1c .RI "template bool \fBoperator!=\fP (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBdeque\fP< _Tp, _Alloc > &__lhs, const \fBdeque\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBforward_list\fP< _Tp, _Alloc > &__lx, const \fBforward_list\fP< _Tp, _Alloc > &__ly)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBlist\fP< _Tp, _Alloc > &__lhs, const \fBlist\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBmultiset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBmultiset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBunordered_map\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const \fBunordered_map\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBunordered_multimap\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const \fBunordered_multimap\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBunordered_multiset\fP< _Value, _Hash, _Pred, _Alloc > &__x, const \fBunordered_multiset\fP< _Value, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBunordered_set\fP< _Value, _Hash, _Pred, _Alloc > &__x, const \fBunordered_set\fP< _Value, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBvector\fP< _Tp, _Alloc > &__lhs, const \fBvector\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template \fBbitset\fP< _Nb > \fBoperator&\fP (const \fBbitset\fP< _Nb > &__x, const \fBbitset\fP< _Nb > &__y) noexcept" .br .ti -1c .RI "template bool \fBoperator<\fP (const array< _Tp, _Nm > &__a, const array< _Tp, _Nm > &__b)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBdeque\fP< _Tp, _Alloc > &__lhs, const \fBdeque\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBforward_list\fP< _Tp, _Alloc > &__lx, const \fBforward_list\fP< _Tp, _Alloc > &__ly)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBlist\fP< _Tp, _Alloc > &__lhs, const \fBlist\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBmultiset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBmultiset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBvector\fP< _Tp, _Alloc > &__lhs, const \fBvector\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template \fBstd::basic_ostream\fP< _CharT, _Traits > & \fBoperator<<\fP (\fBstd::basic_ostream\fP< _CharT, _Traits > &__os, const \fBbitset\fP< _Nb > &__x)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBdeque\fP< _Tp, _Alloc > &__lhs, const \fBdeque\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBforward_list\fP< _Tp, _Alloc > &__lx, const \fBforward_list\fP< _Tp, _Alloc > &__ly)" .br .RI "Based on operator<\&. " .ti -1c .RI "template bool \fBoperator<=\fP (const \fBlist\fP< _Tp, _Alloc > &__lhs, const \fBlist\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBmultiset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBmultiset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBvector\fP< _Tp, _Alloc > &__lhs, const \fBvector\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBdeque\fP< _Tp, _Alloc > &__lhs, const \fBdeque\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBforward_list\fP< _Tp, _Alloc > &__lx, const \fBforward_list\fP< _Tp, _Alloc > &__ly)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBlist\fP< _Tp, _Alloc > &__lhs, const \fBlist\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBmultiset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBmultiset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBunordered_map\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const \fBunordered_map\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBunordered_multimap\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, const \fBunordered_multimap\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBunordered_multiset\fP< _Value, _Hash, _Pred, _Alloc > &__x, const \fBunordered_multiset\fP< _Value, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBunordered_set\fP< _Value, _Hash, _Pred, _Alloc > &__x, const \fBunordered_set\fP< _Value, _Hash, _Pred, _Alloc > &__y)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBvector\fP< _Tp, _Alloc > &__lhs, const \fBvector\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBdeque\fP< _Tp, _Alloc > &__lhs, const \fBdeque\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBforward_list\fP< _Tp, _Alloc > &__lx, const \fBforward_list\fP< _Tp, _Alloc > &__ly)" .br .RI "Based on operator<\&. " .ti -1c .RI "template bool \fBoperator>\fP (const \fBlist\fP< _Tp, _Alloc > &__lhs, const \fBlist\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBmultiset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBmultiset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBvector\fP< _Tp, _Alloc > &__lhs, const \fBvector\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBdeque\fP< _Tp, _Alloc > &__lhs, const \fBdeque\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBforward_list\fP< _Tp, _Alloc > &__lx, const \fBforward_list\fP< _Tp, _Alloc > &__ly)" .br .RI "Based on operator<\&. " .ti -1c .RI "template bool \fBoperator>=\fP (const \fBlist\fP< _Tp, _Alloc > &__lhs, const \fBlist\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, const \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBmultiset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBmultiset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBset\fP< _Key, _Compare, _Allocator > &__lhs, const \fBset\fP< _Key, _Compare, _Allocator > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBvector\fP< _Tp, _Alloc > &__lhs, const \fBvector\fP< _Tp, _Alloc > &__rhs)" .br .ti -1c .RI "template \fBstd::basic_istream\fP< _CharT, _Traits > & \fBoperator>>\fP (\fBstd::basic_istream\fP< _CharT, _Traits > &__is, \fBbitset\fP< _Nb > &__x)" .br .ti -1c .RI "template \fBbitset\fP< _Nb > \fBoperator^\fP (const \fBbitset\fP< _Nb > &__x, const \fBbitset\fP< _Nb > &__y) noexcept" .br .ti -1c .RI "template \fBbitset\fP< _Nb > \fBoperator|\fP (const \fBbitset\fP< _Nb > &__x, const \fBbitset\fP< _Nb > &__y) noexcept" .br .ti -1c .RI "template \fBenable_if\fP< !::__array_traits< _Tp, _Nm >::_Is_swappable::value >::type \fBswap\fP (array< _Tp, _Nm > &, array< _Tp, _Nm > &)=delete" .br .ti -1c .RI "template void \fBswap\fP (array< _Tp, _Nm > &__one, array< _Tp, _Nm > &__two) noexcept(noexcept(__one\&.swap(__two)))" .br .ti -1c .RI "template void \fBswap\fP (\fBdeque\fP< _Tp, _Alloc > &__lhs, \fBdeque\fP< _Tp, _Alloc > &__rhs) noexcept(/*\fBconditional\fP */)" .br .ti -1c .RI "template void \fBswap\fP (\fBforward_list\fP< _Tp, _Alloc > &__lx, \fBforward_list\fP< _Tp, _Alloc > &__ly) noexcept(noexcept(__lx\&.swap(__ly)))" .br .RI "See std::forward_list::swap()\&. " .ti -1c .RI "template void \fBswap\fP (\fBlist\fP< _Tp, _Alloc > &__lhs, \fBlist\fP< _Tp, _Alloc > &__rhs) noexcept(/*\fBconditional\fP */)" .br .ti -1c .RI "template void \fBswap\fP (\fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, \fBmap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs) noexcept(/*\fBconditional\fP */)" .br .ti -1c .RI "template void \fBswap\fP (\fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__lhs, \fBmultimap\fP< _Key, _Tp, _Compare, _Allocator > &__rhs) noexcept(/*\fBconditional\fP */)" .br .ti -1c .RI "template void \fBswap\fP (\fBmultiset\fP< _Key, _Compare, _Allocator > &__x, \fBmultiset\fP< _Key, _Compare, _Allocator > &__y) noexcept(/*\fBconditional\fP */)" .br .ti -1c .RI "template void \fBswap\fP (\fBset\fP< _Key, _Compare, _Allocator > &__x, \fBset\fP< _Key, _Compare, _Allocator > &__y) noexcept(/*\fBconditional\fP */)" .br .ti -1c .RI "template void \fBswap\fP (\fBunordered_map\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, \fBunordered_map\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x\&.swap(__y)))" .br .ti -1c .RI "template void \fBswap\fP (\fBunordered_multimap\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__x, \fBunordered_multimap\fP< _Key, _Tp, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x\&.swap(__y)))" .br .ti -1c .RI "template void \fBswap\fP (\fBunordered_multiset\fP< _Value, _Hash, _Pred, _Alloc > &__x, \fBunordered_multiset\fP< _Value, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x\&.swap(__y)))" .br .ti -1c .RI "template void \fBswap\fP (\fBunordered_set\fP< _Value, _Hash, _Pred, _Alloc > &__x, \fBunordered_set\fP< _Value, _Hash, _Pred, _Alloc > &__y) noexcept(noexcept(__x\&.swap(__y)))" .br .ti -1c .RI "template void \fBswap\fP (\fBvector\fP< _Tp, _Alloc > &__lhs, \fBvector\fP< _Tp, _Alloc > &__rhs) noexcept(/*\fBconditional\fP */)" .br .in -1c .SH "Detailed Description" .PP 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\&. .SH "Function Documentation" .PP .SS "template bool std::__debug::operator<= (const \fBforward_list\fP< _Tp, _Alloc > & __lx, const \fBforward_list\fP< _Tp, _Alloc > & __ly)\fC [inline]\fP" .PP Based on operator<\&. .PP Definition at line 819 of file debug/forward_list\&. .SS "template bool std::__debug::operator> (const \fBforward_list\fP< _Tp, _Alloc > & __lx, const \fBforward_list\fP< _Tp, _Alloc > & __ly)\fC [inline]\fP" .PP Based on operator<\&. .PP Definition at line 806 of file debug/forward_list\&. .SS "template bool std::__debug::operator>= (const \fBforward_list\fP< _Tp, _Alloc > & __lx, const \fBforward_list\fP< _Tp, _Alloc > & __ly)\fC [inline]\fP" .PP Based on operator<\&. .PP Definition at line 813 of file debug/forward_list\&. .SS "template void std::__debug::swap (\fBforward_list\fP< _Tp, _Alloc > & __lx, \fBforward_list\fP< _Tp, _Alloc > & __ly)\fC [inline]\fP, \fC [noexcept]\fP" .PP See std::forward_list::swap()\&. .PP Definition at line 827 of file debug/forward_list\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.