4#ifndef CBM_ALGO_BASE_COMPAT_ALGORITHMS_H
5#define CBM_ALGO_BASE_COMPAT_ALGORITHMS_H
21#include <poolstl/algorithm>
22#include <poolstl/execution>
24#ifdef HAVE_PARALLEL_ALGORITHM
45 template<
typename It,
typename Compare>
55 std::sort(std::execution::par_unseq,
first, last, comp);
56#elif defined(HAVE_PARALLEL_STL_POOLSTL)
59 std::sort(
first, last, comp);
task_thread_pool::task_thread_pool & GetGlobalSTLThreadPool()
Get the global thread pool for parallel stl algorithms.
void Sort(It first, It last, Compare comp)
Wrapper for std::sort.