.TH "__gnu_parallel::_GuardedIterator< _RAIter, _Compare >" 3cxx "Fri May 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_parallel::_GuardedIterator< _RAIter, _Compare > \- _Iterator wrapper supporting an implicit supremum at the end of the sequence, dominating all comparisons\&. .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fB_GuardedIterator\fP (_RAIter __begin, _RAIter __end, _Compare &__comp)" .br .RI "Constructor\&. Sets iterator to beginning of sequence\&. " .ti -1c .RI "\fBoperator _RAIter\fP ()" .br .RI "Convert to wrapped iterator\&. " .ti -1c .RI "std::iterator_traits< _RAIter >::value_type & \fBoperator*\fP ()" .br .RI "Dereference operator\&. " .ti -1c .RI "\fB_GuardedIterator\fP< _RAIter, _Compare > & \fBoperator++\fP ()" .br .RI "Pre-increment operator\&. " .in -1c .SS "Friends" .in +1c .ti -1c .RI "bool \fBoperator<\fP (\fB_GuardedIterator\fP< _RAIter, _Compare > &__bi1, \fB_GuardedIterator\fP< _RAIter, _Compare > &__bi2)" .br .RI "Compare two elements referenced by guarded iterators\&. " .ti -1c .RI "bool \fBoperator<=\fP (\fB_GuardedIterator\fP< _RAIter, _Compare > &__bi1, \fB_GuardedIterator\fP< _RAIter, _Compare > &__bi2)" .br .RI "Compare two elements referenced by guarded iterators\&. " .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_parallel::_GuardedIterator< _RAIter, _Compare >" _Iterator wrapper supporting an implicit supremum at the end of the sequence, dominating all comparisons\&. The implicit supremum comes with a performance cost\&. .PP Deriving from _RAIter is not possible since _RAIter need not be a class\&. .PP Definition at line 73 of file multiway_merge\&.h\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fB__gnu_parallel::_GuardedIterator\fP< _RAIter, _Compare >::\fB_GuardedIterator\fP (_RAIter __begin, _RAIter __end, _Compare & __comp)\fC [inline]\fP" .PP Constructor\&. Sets iterator to beginning of sequence\&. .PP \fBParameters\fP .RS 4 \fI__begin\fP Begin iterator of sequence\&. .br \fI__end\fP End iterator of sequence\&. .br \fI__comp\fP Comparator provided for associated overloaded compare operators\&. .RE .PP .PP Definition at line 91 of file multiway_merge\&.h\&. .SH "Member Function Documentation" .PP .SS "template \fB__gnu_parallel::_GuardedIterator\fP< _RAIter, _Compare >::operator _RAIter ()\fC [inline]\fP" .PP Convert to wrapped iterator\&. .PP \fBReturns\fP .RS 4 Wrapped iterator\&. .RE .PP .PP Definition at line 112 of file multiway_merge\&.h\&. .SS "template std::iterator_traits<_RAIter>::value_type& \fB__gnu_parallel::_GuardedIterator\fP< _RAIter, _Compare >::operator* ()\fC [inline]\fP" .PP Dereference operator\&. .PP \fBReturns\fP .RS 4 Referenced element\&. .RE .PP .PP Definition at line 107 of file multiway_merge\&.h\&. .SS "template \fB_GuardedIterator\fP<_RAIter, _Compare>& \fB__gnu_parallel::_GuardedIterator\fP< _RAIter, _Compare >::operator++ ()\fC [inline]\fP" .PP Pre-increment operator\&. .PP \fBReturns\fP .RS 4 This\&. .RE .PP .PP Definition at line 98 of file multiway_merge\&.h\&. .SH "Friends And Related Function Documentation" .PP .SS "template bool operator< (\fB_GuardedIterator\fP< _RAIter, _Compare > & __bi1, \fB_GuardedIterator\fP< _RAIter, _Compare > & __bi2)\fC [friend]\fP" .PP Compare two elements referenced by guarded iterators\&. .PP \fBParameters\fP .RS 4 \fI__bi1\fP First iterator\&. .br \fI__bi2\fP Second iterator\&. .RE .PP \fBReturns\fP .RS 4 \fCtrue\fP if less\&. .RE .PP .PP Definition at line 119 of file multiway_merge\&.h\&. .SS "template bool operator<= (\fB_GuardedIterator\fP< _RAIter, _Compare > & __bi1, \fB_GuardedIterator\fP< _RAIter, _Compare > & __bi2)\fC [friend]\fP" .PP Compare two elements referenced by guarded iterators\&. .PP \fBParameters\fP .RS 4 \fI__bi1\fP First iterator\&. .br \fI__bi2\fP Second iterator\&. .RE .PP \fBReturns\fP .RS 4 \fCTrue\fP if less equal\&. .RE .PP .PP Definition at line 134 of file multiway_merge\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.