diff --git a/algo/base/compat/Algorithm.h b/algo/base/compat/Algorithm.h index ab6f32e950f6b6b9007b70d5cad46ad14e3f369c..46e93d8a2d54c9d1d6742f0614e1ea8e49fbc9e7 100644 --- a/algo/base/compat/Algorithm.h +++ b/algo/base/compat/Algorithm.h @@ -39,6 +39,12 @@ namespace cbm::algo #endif // WITH_EXECUTION } // namespace detail + /** + * @brief Wrapper for std::sort + * + * Attempts to use the parallel version of std::sort if available. Falls back to the sequential version otherwise. + * Parallel version currently requires Linux, GCC compiler and libTBB. + */ template<typename It, typename Compare> void Sort(It first, It last, Compare comp) {