Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::internal::parallel_for_each_impl< Iterator, Function, std::random_access_iterator_tag > Struct Template Reference

#include <parallel_for_each.h>

Collaboration diagram for tbb::internal::parallel_for_each_impl< Iterator, Function, std::random_access_iterator_tag >:

Static Public Member Functions

static void doit (Iterator first, Iterator last, const Function &f, task_group_context &context)
 
static void doit (Iterator first, Iterator last, const Function &f)
 

Detailed Description

template<typename Iterator, typename Function>
struct tbb::internal::parallel_for_each_impl< Iterator, Function, std::random_access_iterator_tag >

Definition at line 70 of file parallel_for_each.h.

Member Function Documentation

◆ doit() [1/2]

template<typename Iterator , typename Function >
static void tbb::internal::parallel_for_each_impl< Iterator, Function, std::random_access_iterator_tag >::doit ( Iterator  first,
Iterator  last,
const Function &  f,
task_group_context context 
)
inlinestatic

Definition at line 72 of file parallel_for_each.h.

72  {
73  internal::parallel_for_each_body_for<Function, Iterator> body(f);
75  }
void parallel_for(const Range &range, const Body &body)
Parallel iteration over range with default partitioner.
auto last(Container &c) -> decltype(begin(c))
auto first(Container &c) -> decltype(begin(c))
A range over which to iterate.
Definition: blocked_range.h:45

References tbb::internal::first(), tbb::internal::last(), and tbb::parallel_for().

Here is the call graph for this function:

◆ doit() [2/2]

template<typename Iterator , typename Function >
static void tbb::internal::parallel_for_each_impl< Iterator, Function, std::random_access_iterator_tag >::doit ( Iterator  first,
Iterator  last,
const Function &  f 
)
inlinestatic

Definition at line 77 of file parallel_for_each.h.

77  {
78  internal::parallel_for_each_body_for<Function, Iterator> body(f);
80  }
void parallel_for(const Range &range, const Body &body)
Parallel iteration over range with default partitioner.
auto last(Container &c) -> decltype(begin(c))
auto first(Container &c) -> decltype(begin(c))
A range over which to iterate.
Definition: blocked_range.h:45

References tbb::internal::first(), tbb::internal::last(), and tbb::parallel_for().

Here is the call graph for this function:

The documentation for this struct was generated from the following file:

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.