From Jason Turner

[ios.init]

Diff to HTML by rtfpessoa

tmp/tmp3ybxqh8q/{from.md → to.md} RENAMED
@@ -6,27 +6,19 @@ namespace std {
6
  public:
7
  Init();
8
  Init(const Init&) = default;
9
  ~Init();
10
  Init& operator=(const Init&) = default;
11
-
12
- private:
13
- static int init_cnt; // exposition only
14
  };
15
  }
16
  ```
17
 
18
  The class `Init` describes an object whose construction ensures the
19
  construction of the eight objects declared in `<iostream>`
20
  [[iostream.objects]] that associate file stream buffers with the
21
  standard C streams provided for by the functions declared in `<cstdio>`.
22
 
23
- For the sake of exposition, the maintained data is presented here as:
24
-
25
- - `static int init_cnt`, counts the number of constructor and destructor
26
- calls for class `Init`, initialized to zero.
27
-
28
  ``` cpp
29
  Init();
30
  ```
31
 
32
  *Effects:* Constructs and initializes the objects `cin`, `cout`, `cerr`,
 
6
  public:
7
  Init();
8
  Init(const Init&) = default;
9
  ~Init();
10
  Init& operator=(const Init&) = default;
 
 
 
11
  };
12
  }
13
  ```
14
 
15
  The class `Init` describes an object whose construction ensures the
16
  construction of the eight objects declared in `<iostream>`
17
  [[iostream.objects]] that associate file stream buffers with the
18
  standard C streams provided for by the functions declared in `<cstdio>`.
19
 
 
 
 
 
 
20
  ``` cpp
21
  Init();
22
  ```
23
 
24
  *Effects:* Constructs and initializes the objects `cin`, `cout`, `cerr`,