forked from boostorg/unordered
added explicit disabling/enabling of parallel algorithms
This commit is contained in:
committed by
Christian Mazakas
parent
9e4f89aa43
commit
c5debf11cf
@ -26,6 +26,13 @@
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#if !defined(BOOST_UNORDERED_DISABLE_PARALLEL_ALGORITHMS)
|
||||
#if defined(BOOST_UNORDERED_ENABLE_PARALLEL_ALGORITHMS)|| \
|
||||
!defined(BOOST_NO_CXX17_HDR_EXECUTION)
|
||||
#define BOOST_UNORDERED_PARALLEL_ALGORITHMS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_UNORDERED_PARALLEL_ALGORITHMS)
|
||||
#include <algorithm>
|
||||
#include <execution>
|
||||
|
Reference in New Issue
Block a user