Skip to content

Commit 44995f2

Browse files
committed
Merge pull request #487 from FrankHB/patch-6
Use "class template" instead of "template struct" and "struct template"
2 parents eb009db + cfabe93 commit 44995f2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/lib-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@
16081608
allocators.
16091609

16101610
\pnum
1611-
The template struct \tcode{allocator_traits}~(\ref{allocator.traits}) supplies
1611+
The class template \tcode{allocator_traits}~(\ref{allocator.traits}) supplies
16121612
a uniform interface to all allocator types.
16131613
Table~\ref{tab:desc.var.def} describes the types manipulated
16141614
through allocators. Table~\ref{tab:utilities.allocator.requirements}

source/strings.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
\tcode{CharT}.
7070

7171
\pnum
72-
This subclause specifies a struct template,
72+
This subclause specifies a class template,
7373
\tcode{char_traits<charT>},
7474
and four explicit specializations of it,
7575
\tcode{char_traits<\brk{}char>},
@@ -194,7 +194,7 @@
194194
\end{libreqtab4d}
195195

196196
\pnum
197-
The struct template
197+
The class template
198198

199199
\indexlibrary{\idxcode{char_traits}}%
200200
\begin{codeblock}
@@ -301,7 +301,7 @@
301301
The header
302302
\tcode{<string>}
303303
shall define four
304-
specializations of the template struct
304+
specializations of the class template
305305
\tcode{char_traits}:
306306
\tcode{char_traits<\brk{}char>},
307307
\tcode{char_traits<char16_t>},

0 commit comments

Comments
 (0)