|
364 | 364 | position: relative; |
365 | 365 | } |
366 | 366 |
|
367 | | -cxx-titlepage table { |
| 367 | +cxx-titlepage table.draft_header { |
368 | 368 | position: absolute; right: 0px; top: 0px; |
369 | 369 | } |
370 | 370 |
|
371 | | -cxx-titlepage h1 { |
| 371 | +cxx-titlepage table.pdts_header { |
| 372 | + position: absolute; right: 0px; top: 0px; |
| 373 | +} |
| 374 | + |
| 375 | +cxx-titlepage table.pdts_footer { |
| 376 | + position: absolute; left: 0px; bottom: 5%; |
| 377 | +} |
| 378 | + |
| 379 | +cxx-titlepage table.pdts_warning { |
| 380 | + position: absolute; bottom: 20%; |
| 381 | +} |
| 382 | + |
| 383 | +cxx-titlepage h1.draft_title { |
372 | 384 | position: absolute; top: 40%; |
373 | 385 | } |
374 | 386 |
|
375 | | -cxx-titlepage p.warning { |
| 387 | +cxx-titlepage h1.pdts_title { |
| 388 | + position: absolute; top: 30%; |
| 389 | +} |
| 390 | + |
| 391 | +cxx-titlepage p.draft_warning { |
376 | 392 | position: absolute; bottom: 5%; |
377 | 393 | } |
378 | 394 |
|
|
560 | 576 | cxx-toc a[href]::after { content: leader(" . ") target-counter(attr(href), page); } |
561 | 577 |
|
562 | 578 | cxx-footnote aside { float: footnote; footnote-policy: line; } |
563 | | -}</style><title>Technical Specification for C++ Extensions for Parallelism, Working Draft</title></head> |
| 579 | +}</style><title>Technical Specification for C++ Extensions for Parallelism, Working Draft, </title></head> |
564 | 580 | <body> |
565 | 581 |
|
566 | 582 | <cxx-titlepage stage="draft"> |
567 | 583 |
|
568 | | - <table> |
569 | | - |
570 | | - <tbody><tr><th>Document Number:</th><td><cxx-docnum>N4104</cxx-docnum></td></tr> |
571 | | - |
572 | | - |
573 | | - <tr><th>Date:</th><td><time pubdate="">2014-07-04</time></td></tr> |
574 | | - |
575 | | - |
576 | | - <tr><th>Revises:</th><td><cxx-revises><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3960.pdf">N3960</a></cxx-revises></td></tr> |
577 | | - |
578 | | - |
579 | | - <tr><th>Editor:</th><td><cxx-editor> |
| 584 | + |
| 585 | + <table class="draft_header"> |
| 586 | + |
| 587 | + <tbody><tr><th>Document Number:</th><td><cxx-docnum>N4104</cxx-docnum></td></tr> |
| 588 | + |
| 589 | + |
| 590 | + <tr><th>Date:</th><td><time pubdate="">2014-07-04</time></td></tr> |
| 591 | + |
| 592 | + |
| 593 | + <tr><th>Revises:</th><td><cxx-revises><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3960.pdf">N3960</a></cxx-revises></td></tr> |
| 594 | + |
| 595 | + |
| 596 | + <tr><th>Editor:</th><td><cxx-editor> |
580 | 597 | Jared Hoberock<br> |
581 | 598 | NVIDIA Corporation<br> |
582 | 599 | <cxx-email><a href=" mailto:[email protected]" >[email protected]</a></cxx-email> |
583 | 600 | </cxx-editor></td></tr> |
584 | | - |
585 | | - </tbody></table> |
586 | | - <h1>Working Draft, Technical Specification for C++ Extensions for Parallelism</h1> |
| 601 | + |
| 602 | + </tbody></table> |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + <h1 class="draft_title">Working Draft, Technical Specification for C++ Extensions for Parallelism</h1> |
587 | 607 |
|
588 | | - <p class="warning"><strong>Note: this is an early draft. It’s known to be |
| 608 | + |
| 609 | + |
| 610 | + |
| 611 | + <p class="draft_warning"><strong>Note: this is an early draft. It’s known to be |
589 | 612 | incomplet and incorrekt, and it has lots of b<span style="margin-left: -1.2pt; margin-right: 1pt">a</span>d<span style="width:1.5em"> </span>for<span style="margin-left:-3pt; margin-right:0.6pt">mat</span>ti<span style="position:relative; top:-0.15ex">n</span>g.</strong></p> |
590 | 613 |
|
| 614 | + |
591 | 615 | </cxx-titlepage> |
592 | 616 |
|
593 | 617 | <cxx-toc> |
@@ -987,7 +1011,7 @@ <h1>Contents</h1> |
987 | 1011 | sort(par, v.begin(), v.end()); |
988 | 1012 |
|
989 | 1013 | // permitting vectorization as well |
990 | | -sort(par_vec, v.begin(), v.end()); |
| 1014 | +sort(<del>vec</del><ins>par_vec</ins>, v.begin(), v.end()); |
991 | 1015 |
|
992 | 1016 | // sort with dynamically-selected execution |
993 | 1017 | size_t threshold = ... |
@@ -1815,7 +1839,7 @@ <h1>Contents</h1> |
1815 | 1839 | int x<ins>=0</ins>; |
1816 | 1840 | std::mutex m; |
1817 | 1841 | int a[] = {1,2}; |
1818 | | -for_each(par_vec, std::begin(a), std::end(a), [&](int) { |
| 1842 | +for_each(<del>vec</del><ins>par_vec</ins>, std::begin(a), std::end(a), [&](int) { |
1819 | 1843 | m.lock(); |
1820 | 1844 | ++x; |
1821 | 1845 | m.unlock(); |
|
0 commit comments