Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define std_any_of(). #1482

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/bitcoin/system/define.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,14 @@ namespace bc = libbitcoin;
/// C++17 (partial)
#if defined(HAVE_EXECUTION)
#include <execution>
#define std_any_of(p, b, e, l) std::any_of((p), (b), (e), (l))
#define std_all_of(p, b, e, l) std::all_of((p), (b), (e), (l))
#define std_for_each(p, b, e, l) std::for_each((p), (b), (e), (l))
#define std_transform(p, b, e, t, l) std::transform((p), (b), (e), (t), (l))
namespace libbitcoin { constexpr auto par_unseq = std::execution::par_unseq; }
namespace libbitcoin { constexpr auto seq = std::execution::seq; }
#else
#define std_any_of(p, b, e, l) std::any_of((b), (e), (l))
#define std_all_of(p, b, e, l) std::all_of((b), (e), (l))
#define std_for_each(p, b, e, l) std::for_each((b), (e), (l))
#define std_transform(p, b, e, t, l) std::transform((b), (e), (t), (l))
Expand Down
Loading