Skip to content

Define 'object type' only once. #1268

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
Feb 6, 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
7 changes: 3 additions & 4 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
\item an object of type \tcode{T} is defined~(\ref{basic.def}), or
\item a non-static class data member of type \tcode{T} is
declared~(\ref{class.mem}), or
\item \tcode{T} is used as the object type or array element type in a
\item \tcode{T} is used as the allocated type or array element type in a
\grammarterm{new-expression}~(\ref{expr.new}), or
\item an lvalue-to-rvalue conversion is applied to
a glvalue referring
Expand Down Expand Up @@ -3596,7 +3596,6 @@
contexts incomplete types are prohibited. \end{note}

\pnum
\indextext{object type}%
An \defn{object type} is a (possibly cv-qualified) type that is not
a function type, not a reference type, and not \cv{}~\tcode{void}.

Expand Down Expand Up @@ -4060,8 +4059,8 @@
\tcode{void}~(\ref{basic.types}) has three corresponding cv-qualified
versions of its type: a \defn{const-qualified} version, a
\defn{volatile-qualified} version, and a
\defn{const-volatile-qualified} version. The term
\term{object type}~(\ref{intro.object}) includes the cv-qualifiers
\defn{const-volatile-qualified} version. The
type of an object~(\ref{intro.object}) includes the \grammarterm{cv-qualifier}{s}
specified in the \grammarterm{decl-specifier-seq}~(\ref{dcl.spec}),
\grammarterm{declarator} (Clause~\ref{dcl.decl}),
\grammarterm{type-id}~(\ref{dcl.name}), or
Expand Down
3 changes: 1 addition & 2 deletions source/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,7 @@
name~(Clause~\ref{basic}). An object has a storage
duration~(\ref{basic.stc}) which influences its
lifetime~(\ref{basic.life}). An object has a
type~(\ref{basic.types}). The term \defn{object type} refers to
the type with which the object is created.
type~(\ref{basic.types}).
Some objects are
polymorphic~(\ref{class.virtual}); the implementation
generates information associated with each such object that makes it
Expand Down