Skip to content

Commit be50976

Browse files
committed
[lib] Use \placeholdernc before (
1 parent 7add650 commit be50976

File tree

9 files changed

+43
-43
lines changed

9 files changed

+43
-43
lines changed

source/atomics.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@
13441344

13451345
\begin{itemdescr}
13461346
\effects Equivalent to:
1347-
\tcode{return fetch_\placeholder{key}(operand) \placeholdernc{op} operand;}
1347+
\tcode{return fetch_\placeholdernc{key}(operand) \placeholdernc{op} operand;}
13481348
\end{itemdescr}
13491349

13501350
\rSec2[atomics.ref.pointer]{Partial specialization for pointers}
@@ -1444,7 +1444,7 @@
14441444
\begin{itemdescr}
14451445
\pnum
14461446
\effects Equivalent to:
1447-
\tcode{return fetch_\placeholder{key}(operand) \placeholdernc{op} operand;}
1447+
\tcode{return fetch_\placeholdernc{key}(operand) \placeholdernc{op} operand;}
14481448
\end{itemdescr}
14491449

14501450
\rSec2[atomics.ref.memop]{Member operators
@@ -2213,7 +2213,7 @@
22132213

22142214
\begin{itemdescr}
22152215
\pnum
2216-
\effects Equivalent to: \tcode{return fetch_\placeholder{key}(operand) \placeholder{op} operand;}
2216+
\effects Equivalent to: \tcode{return fetch_\placeholdernc{key}(operand) \placeholder{op} operand;}
22172217
\end{itemdescr}
22182218

22192219
\rSec2[atomics.types.float]{Specializations for floating-point types}
@@ -2358,7 +2358,7 @@
23582358
\begin{itemdescr}
23592359
\pnum
23602360
\effects
2361-
Equivalent to: \tcode{return fetch_\placeholder{key}(operand) \placeholder{op} operand;}
2361+
Equivalent to: \tcode{return fetch_\placeholdernc{key}(operand) \placeholder{op} operand;}
23622362

23632363
\pnum
23642364
\remarks
@@ -2510,7 +2510,7 @@
25102510

25112511
\begin{itemdescr}
25122512
\pnum
2513-
\effects Equivalent to: \tcode{return fetch_\placeholder{key}(operand) \placeholder{op} operand;}
2513+
\effects Equivalent to: \tcode{return fetch_\placeholdernc{key}(operand) \placeholder{op} operand;}
25142514
\end{itemdescr}
25152515

25162516
\rSec2[atomics.types.memop]{Member operators common to integers and pointers to objects}

source/iterators.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4748,12 +4748,12 @@
47484748

47494749
\item
47504750
Otherwise, equivalent to:
4751-
\tcode{return \placeholder{proxy}(*get<I>(v_));} where
4751+
\tcode{return \placeholdernc{proxy}(*get<I>(v_));} where
47524752
\tcode{\placeholder{proxy}} is the exposition-only class:
47534753
\begin{codeblock}
47544754
class @\placeholder{proxy}@ {
47554755
iter_value_t<I> keep_;
4756-
@\placeholder{proxy}@(iter_reference_t<I>&& x)
4756+
@\placeholdernc{proxy}@(iter_reference_t<I>&& x)
47574757
: keep_(std::move(x)) {}
47584758
public:
47594759
const iter_value_t<I>* operator->() const {
@@ -5914,7 +5914,7 @@
59145914
class istreambuf_iterator<charT, traits>::@\placeholder{proxy}@ { // \expos
59155915
charT keep_;
59165916
basic_streambuf<charT,traits>* sbuf_;
5917-
@\placeholder{proxy}@(charT c, basic_streambuf<charT,traits>* sbuf)
5917+
@\placeholdernc{proxy}@(charT c, basic_streambuf<charT,traits>* sbuf)
59185918
: keep_(c), sbuf_(sbuf) { }
59195919
public:
59205920
charT operator*() { return keep_; }
@@ -6017,7 +6017,7 @@
60176017
\begin{itemdescr}
60186018
\pnum
60196019
\returns
6020-
\tcode{\placeholder{proxy}(sbuf_->sbumpc(), sbuf_)}.
6020+
\tcode{\placeholdernc{proxy}(sbuf_->sbumpc(), sbuf_)}.
60216021
\end{itemdescr}
60226022

60236023
\indexlibrarymember{equal}{istreambuf_iterator}%

source/lex.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@
18441844
the form
18451845

18461846
\begin{codeblock}
1847-
operator "" @\placeholder{X}@(@\placeholder{n}@ULL)
1847+
operator "" @\placeholdernc{X}@(@\placeholder{n}@ULL)
18481848
\end{codeblock}
18491849

18501850
Otherwise, \placeholder{S} shall contain a raw literal operator
@@ -1853,7 +1853,7 @@
18531853
the literal \placeholder{L} is treated as a call of the form
18541854

18551855
\begin{codeblock}
1856-
operator "" @\placeholder{X}@(@"\placeholder{n}{"}@)
1856+
operator "" @\placeholdernc{X}@(@"\placeholder{n}{"}@)
18571857
\end{codeblock}
18581858

18591859
Otherwise (\placeholder{S} contains a numeric literal operator template),
@@ -1874,7 +1874,7 @@
18741874
the form
18751875

18761876
\begin{codeblock}
1877-
operator "" @\placeholder{X}@(@\placeholder{f}@L)
1877+
operator "" @\placeholdernc{X}@(@\placeholder{f}@L)
18781878
\end{codeblock}
18791879

18801880
Otherwise, \placeholder{S} shall contain a raw literal operator
@@ -1883,7 +1883,7 @@
18831883
the \grammarterm{literal} \placeholder{L} is treated as a call of the form
18841884

18851885
\begin{codeblock}
1886-
operator "" @\placeholder{X}@(@"\placeholder{f}{"}@)
1886+
operator "" @\placeholdernc{X}@(@"\placeholder{f}{"}@)
18871887
\end{codeblock}
18881888

18891889
Otherwise (\placeholder{S} contains a numeric literal operator template),
@@ -1914,7 +1914,7 @@
19141914
Otherwise, the literal \placeholder{L} is treated as a call of the form
19151915

19161916
\begin{codeblock}
1917-
operator "" @\placeholder{X}@(@\placeholder{str}{}@, @\placeholder{len}{}@)
1917+
operator "" @\placeholdernc{X}@(@\placeholder{str}{}@, @\placeholder{len}{}@)
19181918
\end{codeblock}
19191919

19201920
\pnum
@@ -1926,7 +1926,7 @@
19261926
of the form
19271927

19281928
\begin{codeblock}
1929-
operator "" @\placeholder{X}@(@\placeholder{ch}{}@)
1929+
operator "" @\placeholdernc{X}@(@\placeholder{ch}{}@)
19301930
\end{codeblock}
19311931

19321932
\pnum

source/locales.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4712,7 +4712,7 @@
47124712
Each of these functions \tcode{\placeholder{F}}
47134713
returns the result of calling the corresponding
47144714
virtual member function
4715-
\tcode{do_\placeholder{F}()}.
4715+
\tcode{do_\placeholdernc{F}()}.
47164716

47174717
\rSec4[locale.moneypunct.virtuals]{Virtual functions}
47184718

source/numerics.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9625,12 +9625,12 @@
96259625
\item If \tcode{isfinite(t) \&\& a == b}, then \tcode{r == a}.
96269626
\item If \tcode{isfinite(t) || !isnan(t) \&\& b-a != 0}, then \tcode{!isnan(r)}.
96279627
\end{itemize}
9628-
Let \tcode{\placeholder{CMP}(x,y)} be \tcode{1} if \tcode{x > y},
9628+
Let \tcode{\placeholdernc{CMP}(x,y)} be \tcode{1} if \tcode{x > y},
96299629
\tcode{-1} if \tcode{x < y}, and \tcode{0} otherwise.
96309630
For any \tcode{t1} and \tcode{t2}, the product of
9631-
\tcode{\placeholder{CMP}(lerp(a, b, t2), lerp(a, b, t1))},
9632-
\tcode{\placeholder{CMP}(t2, t1)}, and
9633-
\tcode{\placeholder{CMP}(b, a)}
9631+
\tcode{\placeholdernc{CMP}(lerp(a, b, t2), lerp(a, b, t1))},
9632+
\tcode{\placeholdernc{CMP}(t2, t1)}, and
9633+
\tcode{\placeholdernc{CMP}(b, a)}
96349634
is non-negative.
96359635
\end{itemdescr}
96369636

source/ranges.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@
23912391
\item If \tcode{T} models \libconcept{DefaultConstructible}, the default
23922392
constructor of \tcode{\placeholder{semiregular-box}<T>} is equivalent to:
23932393
\begin{codeblock}
2394-
constexpr @\placeholder{semiregular-box}@() noexcept(is_nothrow_default_constructible_v<T>)
2394+
constexpr @\placeholdernc{semiregular-box}@() noexcept(is_nothrow_default_constructible_v<T>)
23952395
: @\placeholder{semiregular-box}@{in_place}
23962396
{ }
23972397
\end{codeblock}
@@ -2497,12 +2497,12 @@
24972497
\pnum
24982498
\remarks Let \tcode{\placeholder{FUN}} denote the exposition-only functions
24992499
\begin{codeblock}
2500-
void @\placeholder{FUN}@(R&);
2501-
void @\placeholder{FUN}@(R&&) = delete;
2500+
void @\placeholdernc{FUN}@(R&);
2501+
void @\placeholdernc{FUN}@(R&&) = delete;
25022502
\end{codeblock}
25032503
The expression in the \grammarterm{requires-clause} is equivalent to
25042504
\begin{codeblock}
2505-
ConvertibleTo<T, R&> && requires { @\placeholder{FUN}@(declval<T>()); }
2505+
ConvertibleTo<T, R&> && requires { @\placeholdernc{FUN}@(declval<T>()); }
25062506
\end{codeblock}
25072507

25082508
\pnum

source/strings.tex

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2808,35 +2808,35 @@
28082808
\item
28092809
Each member function of the form
28102810
\begin{codeblock}
2811-
size_type @\placeholder{F}@(const basic_string& str, size_type pos) const noexcept;
2811+
size_type @\placeholdernc{F}@(const basic_string& str, size_type pos) const noexcept;
28122812
\end{codeblock}
28132813
has effects equivalent to:
2814-
\tcode{return \placeholder{F}(basic_string_view<charT, traits>(str), pos);}
2814+
\tcode{return \placeholdernc{F}(basic_string_view<charT, traits>(str), pos);}
28152815

28162816
\item
28172817
Each member function of the form
28182818
\begin{codeblock}
2819-
size_type @\placeholder{F}@(const charT* s, size_type pos) const;
2819+
size_type @\placeholdernc{F}@(const charT* s, size_type pos) const;
28202820
\end{codeblock}
28212821
has effects equivalent to:
2822-
\tcode{return \placeholder{F}(basic_string_view<charT, traits>(s), pos);}
2822+
\tcode{return \placeholdernc{F}(basic_string_view<charT, traits>(s), pos);}
28232823

28242824
\item
28252825
Each member function of the form
28262826
\begin{codeblock}
2827-
size_type @\placeholder{F}@(const charT* s, size_type pos, size_type n) const;
2827+
size_type @\placeholdernc{F}@(const charT* s, size_type pos, size_type n) const;
28282828
\end{codeblock}
28292829
has effects equivalent to:
2830-
\tcode{return \placeholder{F}(basic_string_view<charT, traits>(s, n), pos);}
2830+
\tcode{return \placeholdernc{F}(basic_string_view<charT, traits>(s, n), pos);}
28312831

28322832
\item
28332833
Each member function of the form
28342834
\begin{codeblock}
2835-
size_type @\placeholder{F}@(charT c, size_type pos) const noexcept;
2835+
size_type @\placeholdernc{F}@(charT c, size_type pos) const noexcept;
28362836
\end{codeblock}
28372837
has effects equivalent to:
28382838
\begin{codeblock}
2839-
return @\placeholder{F}@(basic_string_view<charT, traits>(addressof(c), 1), pos);
2839+
return @\placeholdernc{F}@(basic_string_view<charT, traits>(addressof(c), 1), pos);
28402840
\end{codeblock}
28412841
\end{itemize}
28422842

@@ -2879,7 +2879,7 @@
28792879
Equivalent to:
28802880
\begin{codeblock}
28812881
basic_string_view<charT, traits> s = *this, sv = t;
2882-
return s.@\placeholder{G}@(sv, pos);
2882+
return s.@\placeholdernc{G}@(sv, pos);
28832883
\end{codeblock}
28842884

28852885
\pnum
@@ -4535,23 +4535,23 @@
45354535
\item
45364536
Each member function of the form
45374537
\begin{codeblock}
4538-
constexpr @\placeholder{return-type}@ @\placeholder{F}@(const charT* s, size_type pos) const;
4538+
constexpr @\placeholder{return-type}@ @\placeholdernc{F}@(const charT* s, size_type pos) const;
45394539
\end{codeblock}
4540-
has effects equivalent to: \tcode{return \placeholder{F}(basic_string_view(s), pos);}
4540+
has effects equivalent to: \tcode{return \placeholdernc{F}(basic_string_view(s), pos);}
45414541

45424542
\item
45434543
Each member function of the form
45444544
\begin{codeblock}
4545-
constexpr @\placeholder{return-type}@ @\placeholder{F}@(const charT* s, size_type pos, size_type n) const;
4545+
constexpr @\placeholder{return-type}@ @\placeholdernc{F}@(const charT* s, size_type pos, size_type n) const;
45464546
\end{codeblock}
4547-
has effects equivalent to: \tcode{return \placeholder{F}(basic_string_view(s, n), pos);}
4547+
has effects equivalent to: \tcode{return \placeholdernc{F}(basic_string_view(s, n), pos);}
45484548

45494549
\item
45504550
Each member function of the form
45514551
\begin{codeblock}
4552-
constexpr @\placeholder{return-type}@ @\placeholder{F}@(charT c, size_type pos) const noexcept;
4552+
constexpr @\placeholder{return-type}@ @\placeholdernc{F}@(charT c, size_type pos) const noexcept;
45534553
\end{codeblock}
4554-
has effects equivalent to: \tcode{return \placeholder{F}(basic_string_view(addressof(c), 1), pos);}
4554+
has effects equivalent to: \tcode{return \placeholdernc{F}(basic_string_view(addressof(c), 1), pos);}
45554555
\end{itemize}
45564556

45574557
\indexlibrarymember{find}{basic_string_view}%

source/templates.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8424,7 +8424,7 @@
84248424
T&&
84258425
T[@\placeholder{integer-constant}@]
84268426
@\grammarterm{template-name}@<T> @\textrm{(where \tcode{\grammarterm{template-name}} refers to a class template)}@
8427-
@\placeholder{type}@(T)
8427+
@\placeholdernc{type}@(T)
84288428
T()
84298429
T(T)
84308430
T @\placeholder{type}@::*

source/utilities.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@
19591959
\tcode{t <=> u} returns \tcode{strong_ordering::equal}.
19601960
Otherwise, equivalent to:
19611961
\begin{codeblock}
1962-
if (auto c = @\placeholder{synth-three-way}@(get<0>(t), get<0>(u)); c != 0) return c;
1962+
if (auto c = @\placeholdernc{synth-three-way}@(get<0>(t), get<0>(u)); c != 0) return c;
19631963
return @$\tcode{t}_\mathrm{tail}$@ <=> @$\tcode{u}_\mathrm{tail}$@;
19641964
\end{codeblock}
19651965
where $\tcode{r}_\mathrm{tail}$ for some tuple \tcode{r}
@@ -4751,7 +4751,7 @@
47514751
all $0 \leq i < n$. For each valid pack $\tcode{m}$, let $e(\tcode{m})$
47524752
denote the expression:
47534753
\begin{codeblock}
4754-
@\placeholder{INVOKE}@(std::forward<Visitor>(vis), get<m>(std::forward<Variants>(vars))...) // see \ref{func.require}
4754+
@\placeholdernc{INVOKE}@(std::forward<Visitor>(vis), get<m>(std::forward<Variants>(vars))...) // see \ref{func.require}
47554755
\end{codeblock}
47564756
for the first form and
47574757
\begin{codeblock}
@@ -8331,7 +8331,7 @@
83318331
\effects Equivalent to:
83328332
\begin{codeblock}
83338333
for (; ifirst != ilast && ofirst != olast; ++ofirst, (void)++ifirst) {
8334-
::new (@\placeholder{voidify}@(*ofirst))
8334+
::new (@\placeholdernc{voidify}@(*ofirst))
83358335
remove_reference_t<iter_reference_t<O>>(ranges::iter_move(ifirst));
83368336
}
83378337
return {ifirst, ofirst};

0 commit comments

Comments
 (0)