Skip to content

Commit 38ebbf0

Browse files
authored
Merge pull request #1574 from evoskuil/master
Add std_reduce to c++17 partial support macros.
2 parents 24a18bd + 896bfb5 commit 38ebbf0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/bitcoin/system/preprocessor.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,13 @@
210210
#define std_any_of(p, b, e, l) std::any_of((p), (b), (e), (l))
211211
#define std_all_of(p, b, e, l) std::all_of((p), (b), (e), (l))
212212
#define std_for_each(p, b, e, l) std::for_each((p), (b), (e), (l))
213+
#define std_reduce(p, b, e, i, l) std::reduce((p), (b), (e), (i), (l))
213214
#define std_transform(p, b, e, t, l) std::transform((p), (b), (e), (t), (l))
214215
#else
215216
#define std_any_of(p, b, e, l) std::any_of((b), (e), (l))
216217
#define std_all_of(p, b, e, l) std::all_of((b), (e), (l))
217218
#define std_for_each(p, b, e, l) std::for_each((b), (e), (l))
219+
#define std_reduce(p, b, e, i, l) std::reduce((b), (e), (i), (l))
218220
#define std_transform(p, b, e, t, l) std::transform((b), (e), (t), (l))
219221
#endif
220222

0 commit comments

Comments
 (0)