Skip to content

Commit 52c379b

Browse files
jwakelytkoeppe
authored andcommitted
[basic.types] Add index entries for trivial class etc.
Also reformat text to avoid line breaks in the middle of a grammatical clause.
1 parent 0bbca6c commit 52c379b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

source/basic.tex

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3760,17 +3760,19 @@
37603760
a function type, not a reference type, and not \cv{}~\tcode{void}.
37613761

37623762
\pnum
3763-
Arithmetic types\iref{basic.fundamental}, enumeration types, pointer
3764-
types, pointer-to-member types\iref{basic.compound},
3763+
\indextext{class!trivial}
3764+
\indextext{class!trivially copyable}
3765+
\indextext{class!standard-layout}
3766+
Arithmetic types\iref{basic.fundamental}, enumeration types,
3767+
pointer types, pointer-to-member types\iref{basic.compound},
37653768
\tcode{std::nullptr_t},
37663769
and
37673770
cv-qualified\iref{basic.type.qualifier} versions of these
37683771
types are collectively called
37693772
\defnx{scalar types}{scalar type}.
3770-
Cv-unqualified scalar types, trivially copyable class types\iref{class}, arrays of
3771-
such types, and cv-qualified versions of these
3772-
types are collectively called \defn{trivially
3773-
copyable types}.
3773+
Cv-unqualified scalar types, trivially copyable class types\iref{class},
3774+
arrays of such types, and cv-qualified versions of these
3775+
types are collectively called \defn{trivially copyable types}.
37743776
Scalar types, trivial class types\iref{class},
37753777
arrays of such types and cv-qualified versions of these
37763778
types are collectively called

0 commit comments

Comments
 (0)