File tree 9 files changed +22
-18
lines changed
9 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 5964
5964
$ B$ is an invocation of any specialization of
5965
5965
\tcode {std::kill_dependency}\iref {atomics.order }, or
5966
5966
\item
5967
- $ A$ is the left operand of a built-in logical \logop {AND } (\tcode {\&\& },
5968
- see~\ref {expr.log.and }) or logical \logop {OR } (\tcode {||}, see~\ref {expr.log.or })
5967
+ $ A$ is the left operand of a built-in logical \logop {and } (\tcode {\&\& },
5968
+ see~\ref {expr.log.and }) or logical \logop {or } (\tcode {||}, see~\ref {expr.log.or })
5969
5969
operator, or
5970
5970
\item
5971
5971
$ A$ is the left operand of a conditional (\tcode {?:}, see~\ref {expr.cond })
Original file line number Diff line number Diff line change 6705
6705
of the base-2 representation of the result \tcode {r}
6706
6706
is 1 if both $ \tcode {x}_i$ and $ \tcode {y}_i$ are 1, and 0 otherwise.
6707
6707
\begin {note }
6708
- The result is the bitwise \logop {AND } function of the operands.
6708
+ The result is the bitwise \logop {and } function of the operands.
6709
6709
\end {note }
6710
6710
6711
6711
\rSec 2[expr.xor]{Bitwise exclusive OR operator}%
6731
6731
is 1 if either (but not both) of $ \tcode {x}_i$ and $ \tcode {y}_i$ is 1,
6732
6732
and 0 otherwise.
6733
6733
\begin {note }
6734
- The result is the bitwise exclusive \logop {OR } function of the operands.
6734
+ The result is the bitwise exclusive \logop {or } function of the operands.
6735
6735
\end {note }
6736
6736
6737
6737
\rSec 2[expr.or]{Bitwise inclusive OR operator}%
6756
6756
of the base-2 representation of the result \tcode {r}
6757
6757
is 1 if at least one of $ \tcode {x}_i$ and $ \tcode {y}_i$ is 1, and 0 otherwise.
6758
6758
\begin {note }
6759
- The result is the bitwise inclusive \logop {OR } function of the operands.
6759
+ The result is the bitwise inclusive \logop {or } function of the operands.
6760
6760
\end {note }
6761
6761
6762
6762
\rSec 2[expr.log.and]{Logical AND operator}%
Original file line number Diff line number Diff line change @@ -15365,10 +15365,10 @@
15365
15365
\tcode {permissions} shall replace the file's permission bits with \tcode {perm} \\ \rowsep
15366
15366
\tcode {add} &
15367
15367
\tcode {permissions} shall replace the file's permission bits with
15368
- the bitwise \logop {OR } of \tcode {perm} and the file's current permission bits. \\ \rowsep
15368
+ the bitwise \logop {or } of \tcode {perm} and the file's current permission bits. \\ \rowsep
15369
15369
\tcode {remove} &
15370
15370
\tcode {permissions} shall replace the file's permission bits with
15371
- the bitwise \logop {AND } of the complement of \tcode {perm} and the file's current permission bits. \\ \rowsep
15371
+ the bitwise \logop {and } of the complement of \tcode {perm} and the file's current permission bits. \\ \rowsep
15372
15372
\tcode {nofollow} &
15373
15373
\tcode {permissions} shall change the permissions of a symbolic link itself
15374
15374
rather than the permissions of the file the link resolves to. \\
Original file line number Diff line number Diff line change 518
518
\newcommand {\cvqual }[1]{\textit {#1 }}
519
519
\newcommand {\cv }{\ifmmode \mathit {cv}\else \cvqual {cv}\fi }
520
520
\newcommand {\numconst }[1]{\textsl {#1}}
521
- \newcommand {\logop }[1]{{ \footnotesize #1}}
521
+ \newcommand {\logop }[1]{\textsc { #1}}
522
522
523
523
% %--------------------------------------------------
524
524
% % Environments for code listings.
Original file line number Diff line number Diff line change 3994
3994
Range adaptors are declared in namespace \tcode{std::ranges::views}.
3995
3995
3996
3996
\pnum
3997
- The bitwise \logop{OR } operator is overloaded for the purpose of creating adaptor chain
3997
+ The bitwise \logop{or } operator is overloaded for the purpose of creating adaptor chain
3998
3998
pipelines. The adaptors also support function call syntax with equivalent
3999
3999
semantics.
4000
4000
9863
9863
\pnum
9864
9864
\remarks
9865
9865
The exception specification is equivalent to
9866
- the logical \logop{AND } of the following expressions:
9866
+ the logical \logop{and } of the following expressions:
9867
9867
\begin{codeblock}
9868
9868
noexcept(ranges::iter_swap(std::get<@$i$@>(l.@\exposid{current_}@), std::get<@$i$@>(r.@\exposid{current_}@)))
9869
9869
\end{codeblock}
Original file line number Diff line number Diff line change 264
264
Converts the character sequence designated by the iterator range
265
265
\range {F1}{F2} into a value of a bitmask type that can
266
266
subsequently be passed to \tcode {isctype}.
267
- Values returned from \tcode {lookup_classname} can be bitwise \logop {OR }'ed together;
267
+ Values returned from \tcode {lookup_classname} can be bitwise \logop {or }'ed together;
268
268
the resulting value represents membership
269
269
in either of the corresponding character classes.
270
270
If \tcode {b} is \tcode {true}, the returned bitmask is suitable for
3850
3850
\indexlibrary {regular expression traits!\idxcode {lookup_classname}}%
3851
3851
\indexlibrary {\idxcode {lookup_classname}!regular expression traits}%
3852
3852
The results from multiple calls
3853
- to \tcode {traits_inst.lookup_classname} can be bitwise \logop {OR }'ed
3853
+ to \tcode {traits_inst.lookup_classname} can be bitwise \logop {or }'ed
3854
3854
together and subsequently passed to \tcode {traits_inst.isctype}.
3855
3855
3856
3856
\pnum
Original file line number Diff line number Diff line change 1589
1589
called the \defn {parameter mapping}\iref {temp.constr.decl }.
1590
1590
\begin {note }
1591
1591
Atomic constraints are formed by constraint normalization\iref {temp.constr.normal }.
1592
- \tcode {E} is never a logical \logop {AND } expression\iref {expr.log.and }
1593
- nor a logical \logop {OR } expression\iref {expr.log.or }.
1592
+ \tcode {E} is never a logical \logop {and } expression\iref {expr.log.and }
1593
+ nor a logical \logop {or } expression\iref {expr.log.or }.
1594
1594
\end {note }
1595
1595
1596
1596
\pnum
1728
1728
of that expression.
1729
1729
1730
1730
\item Otherwise, the associated constraints are the normal form of a logical
1731
- \logop {AND } expression\iref {expr.log.and } whose operands are in the
1731
+ \logop {and } expression\iref {expr.log.and } whose operands are in the
1732
1732
following order:
1733
1733
\begin {itemize }
1734
1734
\item
Original file line number Diff line number Diff line change 2151
2151
2152
2152
\pnum
2153
2153
\remarks
2154
- The exception specification is equivalent to the logical \logop{AND } of the
2154
+ The exception specification is equivalent to the logical \logop{and } of the
2155
2155
following expressions:
2156
2156
2157
2157
\begin{codeblock}
5116
5116
5117
5117
\pnum
5118
5118
\remarks
5119
- The exception specification is equivalent to the logical \logop{AND } of
5119
+ The exception specification is equivalent to the logical \logop{and } of
5120
5120
\tcode{is_nothrow_move_con\-structible_v<$\tcode{T}_i$>} for all $i$.
5121
5121
If \tcode{is_trivially_move_constructible_v<$\tcode{T}_i$>}
5122
5122
is \tcode{true} for all $i$, this constructor is trivial.
5729
5729
If an exception is thrown during the exchange of the values of \tcode{*this}
5730
5730
and \tcode{rhs}, the states of the values of \tcode{*this} and of \tcode{rhs}
5731
5731
are determined by the exception safety guarantee of \tcode{variant}'s move constructor.
5732
- The exception specification is equivalent to the logical \logop{AND } of
5732
+ The exception specification is equivalent to the logical \logop{and } of
5733
5733
\tcode{is_nothrow_move_constructible_v<$\tcode{T}_i$> \&\& is_nothrow_swappable_v<$\tcode{T}_i$>} for all $i$.
5734
5734
\end{itemdescr}
5735
5735
Original file line number Diff line number Diff line change @@ -177,6 +177,10 @@ for f in $texfiles; do
177
177
done |
178
178
fail ' "shall", "should", or "may" inside a note' || failed=1
179
179
180
+ # \logop should use lowercase arguments
181
+ grep -n ' \\logop{[^}]*[^andor}][^}]*}' $texfiles |
182
+ fail ' bad argument for \\logop' || failed=1
183
+
180
184
# Hanging paragraphs
181
185
for f in $texfiles ; do
182
186
sed -n ' /^\\rSec/{=;p;};/^\\pnum/{s/^.*$/x/;=;p;}' $f |
You can’t perform that action at this time.
0 commit comments