__gnu_parallel::guarded_iterator - Online Linux Manual PageSection : 3
Updated : 19 Jun 2018
Source : libstdc++

NAME__gnu_parallel::guarded_iterator − Iterator wrapper supporting an implicit supremum at the end of the sequence, dominating all comparisons.

SYNOPSIS

Public Member Functionsguarded_iterator (RandomAccessIterator begin, RandomAccessIterator end, Comparator &comp)
operator RandomAccessIterator ()
std::iterator_traits< RandomAccessIterator >::value_type & operator* ()
guarded_iterator< RandomAccessIterator, Comparator > & operator++ ()

Friendsbool operator (guarded_iterator< RandomAccessIterator, Comparator > &bi1, guarded_iterator< RandomAccessIterator, Comparator > &bi2)
bool operator (guarded_iterator< RandomAccessIterator, Comparator > &bi1, guarded_iterator< RandomAccessIterator, Comparator > &bi2)

Detailed Description

template<typename RandomAccessIterator, typename Comparator> class __gnu_parallel::guarded_iterator< RandomAccessIterator, Comparator >Iterator wrapper supporting an implicit supremum at the end of the sequence, dominating all comparisons. The implicit supremum comes with a performance cost. Deriving from RandomAccessIterator is not possible since RandomAccessIterator need not be a class. Definition at line 84 of file multiway_merge.h.

Constructor & Destructor Documentation

template<typename RandomAccessIterator, typename Comparator> __gnu_parallel::guarded_iterator< RandomAccessIterator, Comparator >::guarded_iterator (RandomAccessIterator begin, RandomAccessIterator end, Comparator & comp) [inline]Constructor. Sets iterator to beginning of sequence. Parameters: begin Begin iterator of sequence.
end End iterator of sequence.
comp Comparator provided for associated overloaded compare operators.
Definition at line 102 of file multiway_merge.h.

Member Function Documentation

template<typename RandomAccessIterator, typename Comparator> __gnu_parallel::guarded_iterator< RandomAccessIterator, Comparator >::operator RandomAccessIterator () [inline]Convert to wrapped iterator. Returns: Wrapped iterator. Definition at line 124 of file multiway_merge.h.

template<typename RandomAccessIterator, typename Comparator> std::iterator_traits<RandomAccessIterator>::value_type& __gnu_parallel::guarded_iterator< RandomAccessIterator, Comparator >::operator* () [inline]Dereference operator. Returns: Referenced element. Definition at line 119 of file multiway_merge.h.

template<typename RandomAccessIterator, typename Comparator> guarded_iterator<RandomAccessIterator, Comparator>& __gnu_parallel::guarded_iterator< RandomAccessIterator, Comparator >::operator++ () [inline]Pre-increment operator. Returns: This. Definition at line 110 of file multiway_merge.h.

AuthorGenerated automatically by Doxygen for libstdc++ from the source code.
0
Johanes Gumabo
Data Size   :   14,265 byte
man-__gnu_parallel::guarded_iterator.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 164,690
Visitor ID   :     :  
Visitor IP   :   3.143.241.205   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.