Skip to content

Commit 89d60b5

Browse files
committed
[lib] Use \placeholdernc before (
1 parent 752d013 commit 89d60b5

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
@@ -4866,12 +4866,12 @@
48664866

48674867
\item
48684868
Otherwise, equivalent to:
4869-
\tcode{return \placeholder{proxy}(*get<I>(v_));} where
4869+
\tcode{return \placeholdernc{proxy}(*get<I>(v_));} where
48704870
\tcode{\placeholder{proxy}} is the exposition-only class:
48714871
\begin{codeblock}
48724872
class @\placeholder{proxy}@ {
48734873
iter_value_t<I> keep_;
4874-
@\placeholder{proxy}@(iter_reference_t<I>&& x)
4874+
@\placeholdernc{proxy}@(iter_reference_t<I>&& x)
48754875
: keep_(std::move(x)) {}
48764876
public:
48774877
const iter_value_t<I>* operator->() const {
@@ -6032,7 +6032,7 @@
60326032
class istreambuf_iterator<charT, traits>::@\placeholder{proxy}@ { // \expos
60336033
charT keep_;
60346034
basic_streambuf<charT,traits>* sbuf_;
6035-
@\placeholder{proxy}@(charT c, basic_streambuf<charT,traits>* sbuf)
6035+
@\placeholdernc{proxy}@(charT c, basic_streambuf<charT,traits>* sbuf)
60366036
: keep_(c), sbuf_(sbuf) { }
60376037
public:
60386038
charT operator*() { return keep_; }
@@ -6135,7 +6135,7 @@
61356135
\begin{itemdescr}
61366136
\pnum
61376137
\returns
6138-
\tcode{\placeholder{proxy}(sbuf_->sbumpc(), sbuf_)}.
6138+
\tcode{\placeholdernc{proxy}(sbuf_->sbumpc(), sbuf_)}.
61396139
\end{itemdescr}
61406140

61416141
\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
@@ -9627,12 +9627,12 @@
96279627
\item If \tcode{isfinite(t) \&\& a == b}, then \tcode{r == a}.
96289628
\item If \tcode{isfinite(t) || !isnan(t) \&\& b-a != 0}, then \tcode{!isnan(r)}.
96299629
\end{itemize}
9630-
Let \tcode{\placeholder{CMP}(x,y)} be \tcode{1} if \tcode{x > y},
9630+
Let \tcode{\placeholdernc{CMP}(x,y)} be \tcode{1} if \tcode{x > y},
96319631
\tcode{-1} if \tcode{x < y}, and \tcode{0} otherwise.
96329632
For any \tcode{t1} and \tcode{t2}, the product of
9633-
\tcode{\placeholder{CMP}(lerp(a, b, t2), lerp(a, b, t1))},
9634-
\tcode{\placeholder{CMP}(t2, t1)}, and
9635-
\tcode{\placeholder{CMP}(b, a)}
9633+
\tcode{\placeholdernc{CMP}(lerp(a, b, t2), lerp(a, b, t1))},
9634+
\tcode{\placeholdernc{CMP}(t2, t1)}, and
9635+
\tcode{\placeholdernc{CMP}(b, a)}
96369636
is non-negative.
96379637
\end{itemdescr}
96389638

source/ranges.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@
25122512
\item If \tcode{T} models \libconcept{DefaultConstructible}, the default
25132513
constructor of \tcode{\placeholder{semiregular-box}<T>} is equivalent to:
25142514
\begin{codeblock}
2515-
constexpr @\placeholder{semiregular-box}@() noexcept(is_nothrow_default_constructible_v<T>)
2515+
constexpr @\placeholdernc{semiregular-box}@() noexcept(is_nothrow_default_constructible_v<T>)
25162516
: @\placeholder{semiregular-box}@{in_place}
25172517
{ }
25182518
\end{codeblock}
@@ -2618,12 +2618,12 @@
26182618
\pnum
26192619
\remarks Let \tcode{\placeholder{FUN}} denote the exposition-only functions
26202620
\begin{codeblock}
2621-
void @\placeholder{FUN}@(R&);
2622-
void @\placeholder{FUN}@(R&&) = delete;
2621+
void @\placeholdernc{FUN}@(R&);
2622+
void @\placeholdernc{FUN}@(R&&) = delete;
26232623
\end{codeblock}
26242624
The expression in the \grammarterm{requires-clause} is equivalent to
26252625
\begin{codeblock}
2626-
ConvertibleTo<T, R&> && requires { @\placeholder{FUN}@(declval<T>()); }
2626+
ConvertibleTo<T, R&> && requires { @\placeholdernc{FUN}@(declval<T>()); }
26272627
\end{codeblock}
26282628

26292629
\pnum

source/strings.tex

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,35 +2831,35 @@
28312831
\item
28322832
Each member function of the form
28332833
\begin{codeblock}
2834-
constexpr size_type @\placeholder{F}@(const basic_string& str, size_type pos) const noexcept;
2834+
constexpr size_type @\placeholdernc{F}@(const basic_string& str, size_type pos) const noexcept;
28352835
\end{codeblock}
28362836
has effects equivalent to:
2837-
\tcode{return \placeholder{F}(basic_string_view<charT, traits>(str), pos);}
2837+
\tcode{return \placeholdernc{F}(basic_string_view<charT, traits>(str), pos);}
28382838

28392839
\item
28402840
Each member function of the form
28412841
\begin{codeblock}
2842-
constexpr size_type @\placeholder{F}@(const charT* s, size_type pos) const;
2842+
constexpr size_type @\placeholdernc{F}@(const charT* s, size_type pos) const;
28432843
\end{codeblock}
28442844
has effects equivalent to:
2845-
\tcode{return \placeholder{F}(basic_string_view<charT, traits>(s), pos);}
2845+
\tcode{return \placeholdernc{F}(basic_string_view<charT, traits>(s), pos);}
28462846

28472847
\item
28482848
Each member function of the form
28492849
\begin{codeblock}
2850-
constexpr size_type @\placeholder{F}@(const charT* s, size_type pos, size_type n) const;
2850+
constexpr size_type @\placeholdernc{F}@(const charT* s, size_type pos, size_type n) const;
28512851
\end{codeblock}
28522852
has effects equivalent to:
2853-
\tcode{return \placeholder{F}(basic_string_view<charT, traits>(s, n), pos);}
2853+
\tcode{return \placeholdernc{F}(basic_string_view<charT, traits>(s, n), pos);}
28542854

28552855
\item
28562856
Each member function of the form
28572857
\begin{codeblock}
2858-
constexpr size_type @\placeholder{F}@(charT c, size_type pos) const noexcept;
2858+
constexpr size_type @\placeholdernc{F}@(charT c, size_type pos) const noexcept;
28592859
\end{codeblock}
28602860
has effects equivalent to:
28612861
\begin{codeblock}
2862-
return @\placeholder{F}@(basic_string_view<charT, traits>(addressof(c), 1), pos);
2862+
return @\placeholdernc{F}@(basic_string_view<charT, traits>(addressof(c), 1), pos);
28632863
\end{codeblock}
28642864
\end{itemize}
28652865

@@ -2902,7 +2902,7 @@
29022902
Equivalent to:
29032903
\begin{codeblock}
29042904
basic_string_view<charT, traits> s = *this, sv = t;
2905-
return s.@\placeholder{G}@(sv, pos);
2905+
return s.@\placeholdernc{G}@(sv, pos);
29062906
\end{codeblock}
29072907

29082908
\pnum
@@ -4562,23 +4562,23 @@
45624562
\item
45634563
Each member function of the form
45644564
\begin{codeblock}
4565-
constexpr @\placeholder{return-type}@ @\placeholder{F}@(const charT* s, size_type pos) const;
4565+
constexpr @\placeholder{return-type}@ @\placeholdernc{F}@(const charT* s, size_type pos) const;
45664566
\end{codeblock}
4567-
has effects equivalent to: \tcode{return \placeholder{F}(basic_string_view(s), pos);}
4567+
has effects equivalent to: \tcode{return \placeholdernc{F}(basic_string_view(s), pos);}
45684568

45694569
\item
45704570
Each member function of the form
45714571
\begin{codeblock}
4572-
constexpr @\placeholder{return-type}@ @\placeholder{F}@(const charT* s, size_type pos, size_type n) const;
4572+
constexpr @\placeholder{return-type}@ @\placeholdernc{F}@(const charT* s, size_type pos, size_type n) const;
45734573
\end{codeblock}
4574-
has effects equivalent to: \tcode{return \placeholder{F}(basic_string_view(s, n), pos);}
4574+
has effects equivalent to: \tcode{return \placeholdernc{F}(basic_string_view(s, n), pos);}
45754575

45764576
\item
45774577
Each member function of the form
45784578
\begin{codeblock}
4579-
constexpr @\placeholder{return-type}@ @\placeholder{F}@(charT c, size_type pos) const noexcept;
4579+
constexpr @\placeholder{return-type}@ @\placeholdernc{F}@(charT c, size_type pos) const noexcept;
45804580
\end{codeblock}
4581-
has effects equivalent to: \tcode{return \placeholder{F}(basic_string_view(addressof(c), 1), pos);}
4581+
has effects equivalent to: \tcode{return \placeholdernc{F}(basic_string_view(addressof(c), 1), pos);}
45824582
\end{itemize}
45834583

45844584
\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)