Sort elements in tpie pointers. More...
#include <tpie/pipelining/store.h>
Classes | |
struct | element_type |
struct | specific |
Public Member Functions | |
template<typename element_t > | |
specific< element_t > | get_specific () |
Sort elements in tpie pointers.
We sort elements of type T, they are pushed to us as T * and we store them as T*. Pointers pushed must be allocated with tpie_new, and the sorter takes ownership. When returned, ownership of the new pointer is given to user. The elements are tpie_delete'ed and tpie_new'ed.