Add utilities/parallel_markers.hpp
Move logic from apply_context::unused_authorizations out to a header so other code can use it. The logic in question takes an array of data, and a parallel array of "markers" (booleans, in this instance), and returns a range containing only the data elements whose corresponding marker matches a provided value (i.e. the boolean was true). Stay tuned to see how else I use this code! ;)
Showing
想要评论请 注册 或 登录