摘要:
templateT parallelAccumulate(Iterator first, Iterator last, T init){ size_t const length = std::distance(first, last); if (length == 0){ ... 阅读全文
posted @ 2015-10-24 18:44
wu_overflow
阅读(218)
评论(0)
推荐(0)
摘要:
templatestruct AccumulateBlock{ T operator()(Iterator first, Iterator last) { return std::accumulate(first, last, T()); }};class Threa... 阅读全文
posted @ 2015-10-24 17:57
wu_overflow
阅读(155)
评论(0)
推荐(0)
浙公网安备 33010602011771号