Skip to content

Commit 0680a08

Browse files
authored
[ios.init] Remove unused Init::init_cnt static member (#7263)
The text that made use of this variable was removed by LWG1123 and has not been present in the WP since N3090. The effects of Init construction and destruction are specified entirely without the use of this variable, so it serves no purpose now.
1 parent 2b1e6d2 commit 0680a08

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

source/iostreams.tex

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,9 +1132,6 @@
11321132
Init(const Init&) = default;
11331133
~Init();
11341134
Init& operator=(const Init&) = default;
1135-
1136-
private:
1137-
static int init_cnt; // \expos
11381135
};
11391136
}
11401137
\end{codeblock}
@@ -1148,17 +1145,6 @@
11481145
provided for by the functions declared in
11491146
\libheaderref{cstdio}.
11501147

1151-
\pnum
1152-
For the sake of exposition, the maintained data is presented here as:
1153-
\begin{itemize}
1154-
\item
1155-
\tcode{static int init_cnt},
1156-
counts the number of
1157-
constructor and destructor calls for class
1158-
\tcode{Init},
1159-
initialized to zero.
1160-
\end{itemize}
1161-
11621148
\indexlibraryctor{ios_base::Init}%
11631149
\begin{itemdecl}
11641150
Init();

0 commit comments

Comments
 (0)