Skip to content

Commit a03a1e6

Browse files
committed
Remove underscores from stable names
1 parent 506e8f6 commit a03a1e6

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/general.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
\topline
4242
\lhdr{Title} & \chdr{Section} & \chdr{Macro Name} & \chdr{Value} & \rhdr{Header} \\
4343
\capsep
44-
Task Block R5 & \ref{parallel.task_block} & \tcode{__cpp_lib_experimental_parallel_task_block} & 201711 & \tcode{<experimental/exception_list> \ <experimental/task_block>} \\
44+
Task Block R5 & \ref{parallel.taskblock} & \tcode{__cpp_lib_experimental_parallel_task_block} & 201711 & \tcode{<experimental/exception_list> \ <experimental/task_block>} \\
4545
\hline
4646
Vector and Wavefront Policies & \ref{parallel.execpol.unseq} & \tcode{__cpp_lib_experimental_execution_vector_policy} & 201711 & \tcode{<experimental/algorithm> \ <experimental/execution>} \\
4747
\hline

src/taskblock.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
%!TEX root = ts.tex
22

3-
\rSec0[parallel.task_block]{Task Block}
3+
\rSec0[parallel.taskblock]{Task Block}
44

5-
\rSec1[parallel.task_block.synopsis]{Header \tcode{<experimental/task_block> synopsis}}
5+
\rSec1[parallel.taskblock.synopsis]{Header \tcode{<experimental/task_block> synopsis}}
66

77
\begin{codeblock}
88
namespace std::experimental {
@@ -20,7 +20,7 @@
2020
}
2121
\end{codeblock}
2222

23-
\rSec1[parallel.task_block.task_cancelled_exception]{Class \tcode{task_cancelled_exception}}
23+
\rSec1[parallel.taskblock.task_cancelled_exception]{Class \tcode{task_cancelled_exception}}
2424

2525
\begin{codeblock}
2626
namespace std::experimental {
@@ -40,9 +40,9 @@
4040
The class \tcode{task_cancelled_exception} defines the type of objects
4141
thrown by \tcode{task_block\colcol{}run} or \tcode{task_block\colcol{}wait} if they detect
4242
than an exception is pending within the current parallel block. See
43-
\ref{parallel.task_block.exceptions}, below.
43+
\ref{parallel.taskblock.exceptions}, below.
4444

45-
\rSec2[parallel.task_block.task_cancelled_exception.what]{\tcode{task_cancelled_exception} member function \tcode{what}}
45+
\rSec2[parallel.taskblock.task_cancelled_exception.what]{\tcode{task_cancelled_exception} member function \tcode{what}}
4646

4747
\begin{itemdecl}
4848
virtual const char* what() const noexcept;
@@ -53,7 +53,7 @@
5353
\returns An implementation-defined NTBS.
5454
\end{itemdescr}
5555

56-
\rSec1[parallel.task_block.class]{Class \tcode{task_block}}
56+
\rSec1[parallel.taskblock.class]{Class \tcode{task_block}}
5757

5858
\begin{codeblock}
5959
namespace std::experimental {
@@ -126,7 +126,7 @@
126126
Implementations are encouraged to diagnose the above error at translation time.
127127
\end{note}
128128

129-
\rSec2[parallel.task_block.class.run]{\tcode{task_block} member function template \tcode{run}}
129+
\rSec2[parallel.taskblock.class.run]{\tcode{task_block} member function template \tcode{run}}
130130

131131
\begin{itemdecl}
132132
template<class F> void run(F&& f);
@@ -153,7 +153,7 @@
153153
\tcode{define_task_block_restore_thread} that created this \tcode{task_block}).
154154

155155
\pnum
156-
\throws \tcode{task_cancelled_exception}, as described in \ref{parallel.task_block.exceptions}.
156+
\throws \tcode{task_cancelled_exception}, as described in \ref{parallel.taskblock.exceptions}.
157157

158158
\pnum
159159
\remarks The \tcode{run} function may return on a thread other than the
@@ -170,7 +170,7 @@
170170

171171
\end{itemdescr}
172172

173-
\rSec2[parallel.task_block.class.wait]{\tcode{task_block} member function \tcode{wait}}
173+
\rSec2[parallel.taskblock.class.wait]{\tcode{task_block} member function \tcode{wait}}
174174

175175
\begin{itemdecl}
176176
void wait();
@@ -184,7 +184,7 @@
184184
\effects Blocks until the tasks spawned using this \tcode{task_block} have completed.
185185

186186
\pnum
187-
\throws \tcode{task_cancelled_exception}, as described in \ref{parallel.task_block.exceptions}.
187+
\throws \tcode{task_cancelled_exception}, as described in \ref{parallel.taskblock.exceptions}.
188188

189189
\pnum
190190
\postconditions All tasks spawned by the nearest enclosing task block have completed.
@@ -208,7 +208,7 @@
208208

209209
\end{itemdescr}
210210

211-
\rSec1[parallel.task_block.define_task_block]{Function template \tcode{define_task_block}}
211+
\rSec1[parallel.taskblock.define_task_block]{Function template \tcode{define_task_block}}
212212

213213
\begin{itemdecl}
214214
template<class F> void define_task_block(F&& f);
@@ -223,7 +223,7 @@
223223
\effects Constructs a \tcode{task_block} \tcode{tb} and calls \tcode{f(tb)}.
224224

225225
\pnum
226-
\throws \tcode{exception_list}, as specified in \ref{parallel.task_block.exceptions}.
226+
\throws \tcode{exception_list}, as specified in \ref{parallel.taskblock.exceptions}.
227227

228228
\pnum
229229
\postconditions All tasks spawned from \tcode{f} have finished execution.
@@ -232,7 +232,7 @@
232232
\remarks The \tcode{define_task_block} function may return on a thread
233233
other than the one on which it was called unless there are no task blocks
234234
active on entry to \tcode{define_task_block} (see
235-
\ref{parallel.task_block.class}), in which case the function returns on the
235+
\ref{parallel.taskblock.class}), in which case the function returns on the
236236
original thread. When \tcode{define_task_block} returns on a different thread, it
237237
synchronizes with operations following the call. \begin{note}The return from
238238
\tcode{define_task_block} is ordered similarly to an ordinary function
@@ -243,7 +243,7 @@
243243
\realnotes It is expected (but not mandated) that \tcode{f} will (directly or indirectly) call \tcode{tb.run(\UNSP{function-\brk{}object})}.
244244
\end{itemdescr}
245245

246-
\rSec1[parallel.task_block.exceptions]{Exception Handling}
246+
\rSec1[parallel.taskblock.exceptions]{Exception Handling}
247247

248248
\pnum
249249
Every \tcode{task_block} has an associated exception list. When the task block starts, its associated exception list is empty.

0 commit comments

Comments
 (0)