Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
Requirements on iterators for parallel_sort

Requirements on the iterator type It and its value type T for parallel_sort:

  • void iter_swap( It a, It b )
    Swaps the values of the elements the given iterators a and b are pointing to. It should be a random access iterator.
  • bool Compare::operator()( const T& x, const T& y )
    True if x comes before y;

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.