Searched refs:CorrectBody (Results 1 – 4 of 4) sorted by relevance
| /oneTBB/test/tbb/ |
| H A D | test_parallel_reduce.cpp | 314 using CorrectBody = test_concepts::parallel_reduce_body::Correct<Range>; typedef 324 static_assert(can_call_imperative_preduce<Correct, CorrectBody<Correct>>); in test_preduce_range_constraints() 325 static_assert(!can_call_imperative_preduce<NonCopyable, CorrectBody<NonCopyable>>); in test_preduce_range_constraints() 326 static_assert(!can_call_imperative_preduce<NonDestructible, CorrectBody<NonDestructible>>); in test_preduce_range_constraints() 327 static_assert(!can_call_imperative_preduce<NonSplittable, CorrectBody<NonSplittable>>); in test_preduce_range_constraints() 328 static_assert(!can_call_imperative_preduce<NoEmpty, CorrectBody<NoEmpty>>); in test_preduce_range_constraints() 329 static_assert(!can_call_imperative_preduce<EmptyNonConst, CorrectBody<EmptyNonConst>>); in test_preduce_range_constraints() 331 static_assert(!can_call_imperative_preduce<NoIsDivisible, CorrectBody<NoIsDivisible>>); in test_preduce_range_constraints() 380 static_assert(can_call_imperative_pdet_reduce<Correct, CorrectBody<Correct>>); in test_pdet_reduce_range_constraints() 381 static_assert(!can_call_imperative_pdet_reduce<NonCopyable, CorrectBody<NonCopyable>>); in test_pdet_reduce_range_constraints() [all …]
|
| H A D | test_parallel_for.cpp | 332 using CorrectBody = test_concepts::parallel_for_body::Correct<Range>; typedef 339 static_assert(can_call_range_pfor<Correct, CorrectBody<Correct>>); in test_pfor_range_constraints() 340 static_assert(!can_call_range_pfor<NonCopyable, CorrectBody<NonCopyable>>); in test_pfor_range_constraints() 341 static_assert(!can_call_range_pfor<NonSplittable, CorrectBody<NonSplittable>>); in test_pfor_range_constraints() 342 static_assert(!can_call_range_pfor<NonDestructible, CorrectBody<NonDestructible>>); in test_pfor_range_constraints() 343 static_assert(!can_call_range_pfor<NoEmpty, CorrectBody<NoEmpty>>); in test_pfor_range_constraints() 344 static_assert(!can_call_range_pfor<EmptyNonConst, CorrectBody<EmptyNonConst>>); in test_pfor_range_constraints() 345 static_assert(!can_call_range_pfor<WrongReturnEmpty, CorrectBody<WrongReturnEmpty>>); in test_pfor_range_constraints() 346 static_assert(!can_call_range_pfor<NoIsDivisible, CorrectBody<NoIsDivisible>>); in test_pfor_range_constraints() 347 static_assert(!can_call_range_pfor<IsDivisibleNonConst, CorrectBody<IsDivisibleNonConst>>); in test_pfor_range_constraints() [all …]
|
| H A D | test_parallel_for_each.cpp | 237 using CorrectBody = test_concepts::parallel_for_each_body::Correct<decltype(*std::declval<Iterator>… typedef 242 …static_assert(can_call_parallel_for_each_with_iterator<CorrectIterator, CorrectBody<CorrectIterato… in test_pfor_each_iterator_constraints() 243 …static_assert(!can_call_parallel_for_each_with_iterator<IncorrectIterator, CorrectBody<IncorrectIt… in test_pfor_each_iterator_constraints() 248 static_assert(can_call_parallel_for_each_with_cbs<Correct, CorrectBody<Correct::iterator>>); in test_pfor_each_container_based_sequence_constraints() 249 static_assert(!can_call_parallel_for_each_with_cbs<NoBegin, CorrectBody<NoBegin::iterator>>); in test_pfor_each_container_based_sequence_constraints() 250 static_assert(!can_call_parallel_for_each_with_cbs<NoEnd, CorrectBody<NoEnd::iterator>>); in test_pfor_each_container_based_sequence_constraints()
|
| H A D | test_parallel_scan.cpp | 416 using CorrectBody = test_concepts::parallel_scan_body::Correct<Range>; typedef 426 static_assert(can_call_imperative_pscan<Correct, CorrectBody<Correct>>); in test_pscan_range_constraints() 427 static_assert(!can_call_imperative_pscan<NonCopyable, CorrectBody<NonCopyable>>); in test_pscan_range_constraints() 428 static_assert(!can_call_imperative_pscan<NonDestructible, CorrectBody<NonDestructible>>); in test_pscan_range_constraints() 429 static_assert(!can_call_imperative_pscan<NonSplittable, CorrectBody<NonSplittable>>); in test_pscan_range_constraints() 430 static_assert(!can_call_imperative_pscan<NoEmpty, CorrectBody<NoEmpty>>); in test_pscan_range_constraints() 431 static_assert(!can_call_imperative_pscan<EmptyNonConst, CorrectBody<EmptyNonConst>>); in test_pscan_range_constraints() 432 static_assert(!can_call_imperative_pscan<WrongReturnEmpty, CorrectBody<WrongReturnEmpty>>); in test_pscan_range_constraints() 433 static_assert(!can_call_imperative_pscan<NoIsDivisible, CorrectBody<NoIsDivisible>>); in test_pscan_range_constraints() 434 … static_assert(!can_call_imperative_pscan<IsDivisibleNonConst, CorrectBody<IsDivisibleNonConst>>); in test_pscan_range_constraints() [all …]
|