HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sort.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/work/threadLimits.h"
#include <tbb/parallel_sort.h>
#include <algorithm>
+ Include dependency graph for sort.h:

Go to the source code of this file.

Functions

template<typename C >
PXR_NAMESPACE_OPEN_SCOPE void WorkParallelSort (C *container)
 
template<typename C , typename Compare >
void WorkParallelSort (C *container, const Compare &comp)
 

Function Documentation

template<typename C >
PXR_NAMESPACE_OPEN_SCOPE void WorkParallelSort ( C *  container)

Sorts in-place a container that provides begin() and end() methods

Definition at line 24 of file sort.h.

template<typename C , typename Compare >
void WorkParallelSort ( C *  container,
const Compare &  comp 
)

Sorts in-place a container that provides begin() and end() methods, using a custom comparison functor.

Definition at line 40 of file sort.h.