@@ -1310,6 +1310,7 @@ <h1>Contents</h1>
1310
1310
template<class T> execution_policy& operator=(const T& exec);
1311
1311
1312
1312
< cxx-ref insynopsis ="" to ="parallel.execpol.access "> // < i > < a title ="parallel.execpol.access " href ="#parallel.execpol.access "> 2.7.2</ a > , execution_policy object access</ i > </ cxx-ref >
1313
+ < ins > const type_info& type() const noexcept;</ ins >
1313
1314
template<class T> T* get() noexcept;
1314
1315
template<class T> const T* get() const noexcept;
1315
1316
};
@@ -2146,6 +2147,11 @@ <h1>Contents</h1>
2146
2147
template<class InputIterator, class Size, class Function>
2147
2148
InputIterator for_each_n(InputIterator first, Size n,
2148
2149
Function f);
2150
+ < ins > template<class ExecutionPolicy,
2151
+ class InputIterator, class Size, class Function>
2152
+ InputIterator for_each_n(ExecutionPolicy&& exec,
2153
+ InputIterator first, Size n,
2154
+ Function f);</ ins >
2149
2155
}
2150
2156
}
2151
2157
}
@@ -2368,47 +2374,105 @@ <h1>Contents</h1>
2368
2374
template<class InputIterator>
2369
2375
typename iterator_traits<InputIterator>::value_type
2370
2376
reduce(InputIterator first, InputIterator last);
2377
+ < ins > template<class ExecutionPolicy,
2378
+ InputIterator>
2379
+ typename iterator_traits<InputIterator>::value_type
2380
+ reduce(ExecutionPolicy&& exec,
2381
+ InputIterator first, InputIterator last);</ ins >
2371
2382
template<class InputIterator, class T>
2372
- T reduce(InputIterator first, InputIterator last< ins > ,</ ins > T init);
2383
+ T reduce(InputIterator first, InputIterator last, T init);
2384
+ < ins > template<class ExecutionPolicy,
2385
+ class InputIterator, class T>
2386
+ T reduce(ExecutionPolicy&& exec,
2387
+ InputIterator first, InputIterator last, T init);</ ins >
2373
2388
template<class InputIterator, class T, class BinaryOperation>
2374
2389
T reduce(InputIterator first, InputIterator last, T init,
2375
2390
BinaryOperation binary_op);
2391
+ < ins > template<class ExecutionPolicy, class InputIterator, class T, class BinaryOperation>
2392
+ T reduce(ExecutionPolicy&& exec,
2393
+ InputIterator first, InputIterator last, T init,
2394
+ BinaryOperation binary_op);</ ins >
2376
2395
2377
2396
template<class InputIterator, class OutputIterator,
2378
2397
class T>
2379
2398
OutputIterator
2380
2399
exclusive_scan(InputIterator first, InputIterator last,
2381
2400
OutputIterator result,
2382
2401
T init);
2402
+ < ins > template<class ExecutionPolicy,
2403
+ class InputIterator, class OutputIterator,
2404
+ class T>
2405
+ OutputIterator
2406
+ exclusive_scan(ExecutionPolicy&& exec,
2407
+ InputIterator first, InputIterator last,
2408
+ OutputIterator result,
2409
+ T init);</ ins >
2383
2410
template<class InputIterator, class OutputIterator,
2384
2411
class T, class BinaryOperation>
2385
2412
OutputIterator
2386
2413
exclusive_scan(InputIterator first, InputIterator last,
2387
2414
OutputIterator result,
2388
2415
T init, BinaryOperation binary_op);
2416
+ < ins > template<class ExecutionPolicy,
2417
+ class InputIterator, class OutputIterator,
2418
+ class T, class BinaryOperation>
2419
+ OutputIterator
2420
+ exclusive_scan(ExecutionPolicy&& exec,
2421
+ InputIterator first, InputIterator last,
2422
+ OutputIterator result,
2423
+ T init, BinaryOperation binary_op);</ ins >
2389
2424
2390
2425
template<class InputIterator, class OutputIterator>
2391
2426
OutputIterator
2392
2427
inclusive_scan(InputIterator first, InputIterator last,
2393
2428
OutputIterator result);
2429
+ < ins > template<class ExecutionPolicy,
2430
+ class InputIterator, class OutputIterator>
2431
+ OutputIterator
2432
+ inclusive_scan(ExecutionPolicy&& exec,
2433
+ InputIterator first, InputIterator last,
2434
+ OutputIterator result);</ ins >
2394
2435
template<class InputIterator, class OutputIterator,
2395
2436
class BinaryOperation>
2396
2437
OutputIterator
2397
2438
inclusive_scan(InputIterator first, InputIterator last,
2398
2439
OutputIterator result,
2399
2440
BinaryOperation binary_op);
2441
+ < ins > template<class ExecutionPolicy,
2442
+ class InputIterator, class OutputIterator,
2443
+ class BinaryOperation>
2444
+ OutputIterator
2445
+ inclusive_scan(ExecutionPolicy&& exec,
2446
+ InputIterator first, InputIterator last,
2447
+ OutputIterator result,
2448
+ BinaryOperation binary_op);</ ins >
2400
2449
template<class InputIterator, class OutputIterator,
2401
2450
class BinaryOperation, class T>
2402
2451
OutputIterator
2403
2452
inclusive_scan(InputIterator first, InputIterator last,
2404
2453
OutputIterator result,
2405
2454
BinaryOperation binary_op, T init);
2455
+ < ins > template<class ExecutionPolicy,
2456
+ class InputIterator, class OutputIterator,
2457
+ class BinaryOperation, class T>
2458
+ OutputIterator
2459
+ inclusive_scan(ExecutionPolicy&& exec,
2460
+ InputIterator first, InputIterator last,
2461
+ OutputIterator result,
2462
+ BinaryOperation binary_op, T init);</ ins >
2406
2463
2407
2464
template<class InputIterator, class UnaryOperation,
2408
2465
class T, class BinaryOperation>
2409
2466
T transform_reduce(InputIterator first, InputIterator last,
2410
2467
UnaryOperation unary_op,
2411
2468
T init, BinaryOperation binary_op);
2469
+ < ins > template<class ExecutionPolicy,
2470
+ class InputIterator, class UnaryOperation,
2471
+ class T, class BinaryOperation>
2472
+ T transform_reduce(ExecutionPolicy&& exec,
2473
+ InputIterator first, InputIterator last,
2474
+ UnaryOperation unary_op,
2475
+ T init, BinaryOperation binary_op);</ ins >
2412
2476
2413
2477
template<class InputIterator, class OutputIterator,
2414
2478
class UnaryOperation, class T, class BinaryOperation>
@@ -2417,6 +2481,15 @@ <h1>Contents</h1>
2417
2481
OutputIterator result,
2418
2482
UnaryOperation unary_op,
2419
2483
T init, BinaryOperation binary_op);
2484
+ < ins > template<class ExecutionPolicy,
2485
+ class InputIterator, class OutputIterator,
2486
+ class UnaryOperation, class T, class BinaryOperation>
2487
+ OutputIterator
2488
+ transform_exclusive_scan(ExecutionPolicy&& exec,
2489
+ InputIterator first, InputIterator last,
2490
+ OutputIterator result,
2491
+ UnaryOperation unary_op,
2492
+ T init, BinaryOperation binary_op);</ ins >
2420
2493
2421
2494
template<class InputIterator, class OutputIterator,
2422
2495
class UnaryOperation, class BinaryOperation>
@@ -2425,6 +2498,15 @@ <h1>Contents</h1>
2425
2498
OutputIterator result,
2426
2499
UnaryOperation unary_op,
2427
2500
BinaryOperation binary_op);
2501
+ < ins > template<class ExecutionPolicy,
2502
+ class InputIterator, class OutputIterator,
2503
+ class UnaryOperation, class BinaryOperation>
2504
+ OutputIterator
2505
+ transform_inclusive_scan(ExecutionPolicy&& exec,
2506
+ InputIterator first, InputIterator last,
2507
+ OutputIterator result,
2508
+ UnaryOperation unary_op,
2509
+ BinaryOperation binary_op);</ ins >
2428
2510
2429
2511
template<class InputIterator, class OutputIterator,
2430
2512
class UnaryOperation, class BinaryOperation, class T>
@@ -2433,6 +2515,15 @@ <h1>Contents</h1>
2433
2515
OutputIterator result,
2434
2516
UnaryOperation unary_op,
2435
2517
BinaryOperation binary_op, T init);
2518
+ < ins > template<class ExecutionPolicy,
2519
+ class InputIterator, class OutputIterator,
2520
+ class UnaryOperation, class BinaryOperation, class T>
2521
+ OutputIterator
2522
+ transform_inclusive_scan(ExecutionPolicy&& exec,
2523
+ InputIterator first, InputIterator last,
2524
+ OutputIterator result,
2525
+ UnaryOperation unary_op,
2526
+ BinaryOperation binary_op, T init);</ ins >
2436
2527
}
2437
2528
}
2438
2529
}
0 commit comments