#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(); }; struct final_scan_tag { static bool is_final_scan(); }; }
Member | Description |
---|---|
bool is_final_scan() |
True for a final_scan_tag, otherwise false. |