#include "tbb/parallel_scan.h"
struct pre_scan_tag; struct final_scan_tag;
Types pre_scan_tag and final_scan_tag are dummy types used in conjunction with parallel_scan. See the example in the parallel_scan Template Function section for how they are used in the signature of operator().
namespace tbb { struct pre_scan_tag { static bool is_final_scan(); operator bool(); }; struct final_scan_tag { static bool is_final_scan(); operator bool(); }; }
Member | Description |
---|---|
bool is_final_scan() |
true for a final_scan_tag, otherwise false. |
operator bool() |
true for a final_scan_tag, otherwise false. |