File tree Expand file tree Collapse file tree 9 files changed +22
-18
lines changed Expand file tree Collapse file tree 9 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 59645964$ B$ is an invocation of any specialization of
59655965\tcode {std::kill_dependency}\iref {atomics.order }, or
59665966\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 })
59695969operator, or
59705970\item
59715971$ A$ is the left operand of a conditional (\tcode {?:}, see~\ref {expr.cond })
Original file line number Diff line number Diff line change 67056705of the base-2 representation of the result \tcode {r}
67066706is 1 if both $ \tcode {x}_i$ and $ \tcode {y}_i$ are 1, and 0 otherwise.
67076707\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.
67096709\end {note }
67106710
67116711\rSec 2[expr.xor]{Bitwise exclusive OR operator}%
67316731is 1 if either (but not both) of $ \tcode {x}_i$ and $ \tcode {y}_i$ is 1,
67326732and 0 otherwise.
67336733\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.
67356735\end {note }
67366736
67376737\rSec 2[expr.or]{Bitwise inclusive OR operator}%
67566756of the base-2 representation of the result \tcode {r}
67576757is 1 if at least one of $ \tcode {x}_i$ and $ \tcode {y}_i$ is 1, and 0 otherwise.
67586758\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.
67606760\end {note }
67616761
67626762\rSec 2[expr.log.and]{Logical AND operator}%
Original file line number Diff line number Diff line change @@ -15365,10 +15365,10 @@
1536515365 \tcode {permissions} shall replace the file's permission bits with \tcode {perm} \\ \rowsep
1536615366\tcode {add} &
1536715367 \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
1536915369\tcode {remove} &
1537015370 \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
1537215372\tcode {nofollow} &
1537315373 \tcode {permissions} shall change the permissions of a symbolic link itself
1537415374 rather than the permissions of the file the link resolves to. \\
Original file line number Diff line number Diff line change 518518\newcommand {\cvqual }[1]{\textit {#1 }}
519519\newcommand {\cv }{\ifmmode \mathit {cv}\else \cvqual {cv}\fi }
520520\newcommand {\numconst }[1]{\textsl {#1}}
521- \newcommand {\logop }[1]{{ \footnotesize #1}}
521+ \newcommand {\logop }[1]{\textsc { #1}}
522522
523523% %--------------------------------------------------
524524% % Environments for code listings.
Original file line number Diff line number Diff line change 39943994Range adaptors are declared in namespace \tcode{std::ranges::views}.
39953995
39963996\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
39983998pipelines. The adaptors also support function call syntax with equivalent
39993999semantics.
40004000
98639863\pnum
98649864\remarks
98659865The exception specification is equivalent to
9866- the logical \logop{AND } of the following expressions:
9866+ the logical \logop{and } of the following expressions:
98679867\begin{codeblock}
98689868noexcept(ranges::iter_swap(std::get<@$i$@>(l.@\exposid{current_}@), std::get<@$i$@>(r.@\exposid{current_}@)))
98699869\end{codeblock}
Original file line number Diff line number Diff line change 264264Converts the character sequence designated by the iterator range
265265\range {F1}{F2} into a value of a bitmask type that can
266266subsequently 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;
268268the resulting value represents membership
269269in either of the corresponding character classes.
270270If \tcode {b} is \tcode {true}, the returned bitmask is suitable for
38503850\indexlibrary {regular expression traits!\idxcode {lookup_classname}}%
38513851\indexlibrary {\idxcode {lookup_classname}!regular expression traits}%
38523852The 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
38543854together and subsequently passed to \tcode {traits_inst.isctype}.
38553855
38563856\pnum
Original file line number Diff line number Diff line change 15891589called the \defn {parameter mapping}\iref {temp.constr.decl }.
15901590\begin {note }
15911591Atomic 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 }.
15941594\end {note }
15951595
15961596\pnum
17281728of that expression.
17291729
17301730\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
17321732following order:
17331733\begin {itemize }
17341734\item
Original file line number Diff line number Diff line change 21512151
21522152\pnum
21532153\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
21552155following expressions:
21562156
21572157\begin{codeblock}
51165116
51175117\pnum
51185118\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
51205120\tcode{is_nothrow_move_con\-structible_v<$\tcode{T}_i$>} for all $i$.
51215121If \tcode{is_trivially_move_constructible_v<$\tcode{T}_i$>}
51225122is \tcode{true} for all $i$, this constructor is trivial.
57295729If an exception is thrown during the exchange of the values of \tcode{*this}
57305730and \tcode{rhs}, the states of the values of \tcode{*this} and of \tcode{rhs}
57315731are 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
57335733\tcode{is_nothrow_move_constructible_v<$\tcode{T}_i$> \&\& is_nothrow_swappable_v<$\tcode{T}_i$>} for all $i$.
57345734\end{itemdescr}
57355735
Original file line number Diff line number Diff line change @@ -177,6 +177,10 @@ for f in $texfiles; do
177177done |
178178 fail ' "shall", "should", or "may" inside a note' || failed=1
179179
180+ # \logop should use lowercase arguments
181+ grep -n ' \\logop{[^}]*[^andor}][^}]*}' $texfiles |
182+ fail ' bad argument for \\logop' || failed=1
183+
180184# Hanging paragraphs
181185for f in $texfiles ; do
182186 sed -n ' /^\\rSec/{=;p;};/^\\pnum/{s/^.*$/x/;=;p;}' $f |
You can’t perform that action at this time.
0 commit comments