Skip to content

Commit

Permalink
[std] Fix inconsistent hyphenation of "multidimensional"
Browse files Browse the repository at this point in the history
  • Loading branch information
tocic authored and tkoeppe committed Apr 30, 2023
1 parent 057da6c commit d1e109e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
the type of that object shall not be
an incomplete type\iref{term.incomplete.type},
an abstract class type\iref{class.abstract}, or
a (possibly multi-dimensional) array thereof.
a (possibly multidimensional) array thereof.

\rSec1[basic.def.odr]{One-definition rule}%
\indextext{object!definition}%
Expand Down Expand Up @@ -3362,7 +3362,7 @@
object or reference.
A variable is said to have \defnadj{vacuous}{initialization}
if it is default-initialized and,
if it is of class type or a (possibly multi-dimensional) array thereof,
if it is of class type or a (possibly multidimensional) array thereof,
that class type has a trivial default constructor.
The lifetime of an object of type \tcode{T} begins when:
\begin{itemize}
Expand Down
2 changes: 1 addition & 1 deletion source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@
The type of a non-static data member shall not be an
incomplete type\iref{term.incomplete.type},
an abstract class type\iref{class.abstract},
or a (possibly multi-dimensional) array thereof.
or a (possibly multidimensional) array thereof.
\begin{note}
In particular, a class \tcode{C} cannot contain
a non-static member of class \tcode{C},
Expand Down
2 changes: 1 addition & 1 deletion source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5147,7 +5147,7 @@
\end{example}

\pnum
When initializing a multi-dimensional array,
When initializing a multidimensional array,
the
\grammarterm{initializer-clause}{s}
initialize the elements with the last (rightmost) index of the array
Expand Down
8 changes: 4 additions & 4 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
\pnum
Unless otherwise indicated\iref{dcl.type.decltype},
a prvalue shall always have complete type or the \keyword{void} type;
if it has a class type or (possibly multi-dimensional) array of class type,
if it has a class type or (possibly multidimensional) array of class type,
that class shall not be an abstract class\iref{class.abstract}.
A glvalue shall not have type \cv{}~\keyword{void}.
\begin{note}
Expand Down Expand Up @@ -5834,7 +5834,7 @@
If the type is complete
and if, for an array delete expression only,
the operand is a pointer to a class type with a
non-trivial destructor or a (possibly multi-dimensional) array thereof,
non-trivial destructor or a (possibly multidimensional) array thereof,
the function with a parameter of type \tcode{std::size_t} is selected.
\item
Otherwise, it is unspecified
Expand Down Expand Up @@ -7678,9 +7678,9 @@
An object \tcode{a} is said to have \defnadj{constant}{destruction} if:
\begin{itemize}
\item
it is not of class type nor (possibly multi-dimensional) array thereof, or
it is not of class type nor (possibly multidimensional) array thereof, or
\item
it is of class type or (possibly multi-dimensional) array thereof,
it is of class type or (possibly multidimensional) array thereof,
that class type has a constexpr destructor, and
for a hypothetical expression $E$
whose only effect is to destroy \tcode{a},
Expand Down
2 changes: 1 addition & 1 deletion source/meta.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@
\indexlibraryglobal{remove_all_extents}%
\tcode{template<class T>\br
struct remove_all_extents;} &
If \tcode{T} is ``multi-dimensional array of \tcode{U}'', the resulting member
If \tcode{T} is ``multidimensional array of \tcode{U}'', the resulting member
typedef \tcode{type} denotes \tcode{U}, otherwise \tcode{T}. \\
\end{libreqtab2a}

Expand Down
2 changes: 1 addition & 1 deletion source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
all base classes and non-static data members are public and non-mutable and
\item
the types of all bases classes and non-static data members are
structural types or (possibly multi-dimensional) array thereof.
structural types or (possibly multidimensional) array thereof.
\end{itemize}
\end{itemize}

Expand Down

0 comments on commit d1e109e

Please sign in to comment.