Skip to content
Snippets Groups Projects
Commit 55cdf48c authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

algo: Add docstring to Sort function.

parent 0fe42722
Branches
Tags
1 merge request!1203algo: Enable parallel sorting when libTBB is available.
Pipeline #22856 passed
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment