32 #ifndef _GLIBCXX_PARALLEL_CHECKERS_H 
   33 #define _GLIBCXX_PARALLEL_CHECKERS_H 1 
   49   template<
typename _IIter, 
typename _Compare>
 
   56       _IIter __current(__begin), __recent(__begin);
 
   58       unsigned long long __position = 1;
 
   59       for (__current++; __current != __end; __current++)
 
   61           if (__comp(*__current, *__recent))
 
bool __is_sorted(_IIter __begin, _IIter __end, _Compare __comp)
Check whether [__begin, __end) is sorted according to __comp. 
 
GNU parallel code for public use.