Skip to content

Misplaced index entries on [class] p6 #2074

@jwakely

Description

@jwakely
\pnum
\indextext{\idxcode{struct}!\tcode{class} versus}%
\indextext{structure}%
\indextext{\idxcode{union}!\tcode{class} versus}%
A \defn{union} is a class defined with the \grammarterm{class-key}
\tcode{union};
\indextext{access control!\idxcode{union} default member}%
it holds at most one data member at a time\iref{class.union}.
\begin{note}
Aggregates of class type are described in~\ref{dcl.init.aggr}.
\end{note}

What has this paragraph got to do with "class versus struct" or "structure" or "access control", and what is a union's default member?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions