Home
last modified time | relevance | path

Searched refs:no_copy_move (Results 1 – 1 of 1) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_parallel_for_each.cpp277 struct no_copy_move { struct
278 no_copy_move() = default;
280 no_copy_move(const no_copy_move&) = delete;
281 no_copy_move(no_copy_move&&) = delete;
283 no_copy_move& operator=(const no_copy_move&) = delete;
284 no_copy_move& operator=(no_copy_move&&) = delete;
293 std::vector<no_copy_move> elements(n); in test_with_cpp20_iterator() argument
295 cpp20_iterator<no_copy_move, Category> begin(elements.data()); in test_with_cpp20_iterator()
296 cpp20_iterator<no_copy_move, Category> end(elements.data() + n); in test_with_cpp20_iterator()
298 oneapi::tbb::parallel_for_each(begin, end, [](no_copy_move& element) { in test_with_cpp20_iterator()