Skip to content

[basic.link, expr.add, cstdlib.syn] Small fixes regarding spacing before commas #1544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2210,17 +2210,17 @@
object, reference, function, type, template, namespace or value as a
name introduced by a declaration in another scope:
\begin{itemize}
\item When a name has \defn{external linkage}\indextext{linkage!external},
\item When a name has \indextext{linkage!external}\defn{external linkage},
the entity it denotes
can be referred to by names from scopes of other translation units or
from other scopes of the same translation unit.

\item When a name has \defn{internal linkage}\indextext{linkage!internal},
\item When a name has \indextext{linkage!internal}\defn{internal linkage},
the entity it denotes
can be referred to by names from other scopes in the same translation
unit.

\item When a name has \defn{no linkage}\indextext{linkage!no}, the entity it denotes
\item When a name has \indextext{linkage!no}\defn{no linkage}, the entity it denotes
cannot be referred to by names from other scopes.
\end{itemize}

Expand Down
8 changes: 4 additions & 4 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4103,12 +4103,12 @@
When an expression that has integral type is added to or subtracted from
a pointer, the result has the type of the pointer operand.
If the expression \tcode{P} points to element $\mathtt{x[}i\mathtt{]}$
of an array object \tcode{x} with $n$ elements%
of an array object \tcode{x} with $n$ elements,%
\footnote{An object that is not an array element is considered to belong to a
single-element array for this purpose; see~\ref{expr.unary.op}.
A pointer past the last element of an array \tcode{x} of $n$ elements
is considered to be equivalent to a pointer to a hypothetical element
$\mathtt{x[}n\mathtt{]}$ for this purpose; see~\ref{basic.compound}.},
$\mathtt{x[}n\mathtt{]}$ for this purpose; see~\ref{basic.compound}.}
the expressions \tcode{P + J} and \tcode{J + P}
(where \tcode{J} has the value $j$)
point to the (possibly-hypothetical) element
Expand Down Expand Up @@ -4329,9 +4329,9 @@
\item
If one pointer represents the address of a complete object, and another
pointer represents the address one past the last element of a different
complete object\footnote{An object that is not an array element is
complete object,\footnote{An object that is not an array element is
considered to belong to a single-element array for this purpose;
see~\ref{expr.unary.op}.}, the result of the comparison is unspecified.
see~\ref{expr.unary.op}.} the result of the comparison is unspecified.
\item
Otherwise, if the pointers are both null, both point to the same
\indextext{address}%
Expand Down
4 changes: 2 additions & 2 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@
// Exposition-only function type aliases
extern "C" using @\placeholdernc{c-atexit-handler}@ = void(); // \expos
extern "C++" using @\placeholdernc{atexit-handler}@ = void(); // \expos
extern "C" using @\placeholdernc{c-compare-pred}@ = int(const void* , const void*); // \expos
extern "C++" using @\placeholdernc{compare-pred}@ = int(const void* , const void*); // \expos
extern "C" using @\placeholdernc{c-compare-pred}@ = int(const void*, const void*); // \expos
extern "C++" using @\placeholdernc{compare-pred}@ = int(const void*, const void*); // \expos

// \ref{support.start.term}, start and termination
[[noreturn]] void abort() noexcept;
Expand Down