| 1 | Before declaration of b1
|
|---|
| 2 | constructing int id: 0
|
|---|
| 3 | constructing int id: 1
|
|---|
| 4 | constructing int id: 2
|
|---|
| 5 | default construct A 0
|
|---|
| 6 | constructing int id: 3
|
|---|
| 7 | constructing int id: 4
|
|---|
| 8 | constructing int id: 5
|
|---|
| 9 | default construct A 1
|
|---|
| 10 | begin construct B id: 0
|
|---|
| 11 | assign b.a2
|
|---|
| 12 | constructing int id: 6
|
|---|
| 13 | constructing int id: 7
|
|---|
| 14 | begin construct A id: 2
|
|---|
| 15 | construct a.x
|
|---|
| 16 | constructing int: 1001 id: 8
|
|---|
| 17 | assign a.y
|
|---|
| 18 | assigning int: 0 0 id: 6
|
|---|
| 19 | end construct A
|
|---|
| 20 | copy constructing int: 0 id: 9
|
|---|
| 21 | copy constructing int: 0 id: 10
|
|---|
| 22 | begin copy construct A id: 3
|
|---|
| 23 | copy construct this.x
|
|---|
| 24 | copy constructing int: 1001 id: 11
|
|---|
| 25 | assign this.y
|
|---|
| 26 | copy constructing int: 0 id: 12
|
|---|
| 27 | destructing int: 0 id: 12
|
|---|
| 28 | destructing int: 0 id: 12
|
|---|
| 29 | end copy construct A
|
|---|
| 30 | begin ?=? A id: 0
|
|---|
| 31 | copy constructing int: 1001 id: 13
|
|---|
| 32 | destructing int: 1001 id: 13
|
|---|
| 33 | destructing int: 1001 id: 13
|
|---|
| 34 | copy constructing int: 0 id: 14
|
|---|
| 35 | destructing int: 0 id: 14
|
|---|
| 36 | destructing int: 0 id: 14
|
|---|
| 37 | copy constructing int: 0 id: 15
|
|---|
| 38 | destructing int: 0 id: 15
|
|---|
| 39 | destructing int: 0 id: 15
|
|---|
| 40 | end ?=? A
|
|---|
| 41 | copy constructing int: 0 id: 16
|
|---|
| 42 | copy constructing int: 0 id: 17
|
|---|
| 43 | begin copy construct A id: 4
|
|---|
| 44 | copy construct this.x
|
|---|
| 45 | copy constructing int: 1001 id: 18
|
|---|
| 46 | assign this.y
|
|---|
| 47 | copy constructing int: 0 id: 19
|
|---|
| 48 | destructing int: 0 id: 19
|
|---|
| 49 | destructing int: 0 id: 19
|
|---|
| 50 | end copy construct A
|
|---|
| 51 | destructing int: 0 id: 17
|
|---|
| 52 | destructing int: 0 id: 19
|
|---|
| 53 | destructing int: 1001 id: 18
|
|---|
| 54 | destructing int: 0 id: 10
|
|---|
| 55 | destructing int: 0 id: 12
|
|---|
| 56 | destructing int: 1001 id: 11
|
|---|
| 57 | construct b.a1
|
|---|
| 58 | constructing int id: 20
|
|---|
| 59 | constructing int id: 21
|
|---|
| 60 | begin construct A id: 5
|
|---|
| 61 | construct a.x
|
|---|
| 62 | constructing int: 1000 id: 22
|
|---|
| 63 | assign a.y
|
|---|
| 64 | assigning int: 0 0 id: 20
|
|---|
| 65 | end construct A
|
|---|
| 66 | end construct B
|
|---|
| 67 | destructing int: 0 id: 7
|
|---|
| 68 | destructing int: 0 id: 6
|
|---|
| 69 | destructing int: 1001 id: 8
|
|---|
| 70 | Before declaration of b2
|
|---|
| 71 | copy constructing int: 0 id: 23
|
|---|
| 72 | copy constructing int: 0 id: 24
|
|---|
| 73 | begin copy construct A id: 6
|
|---|
| 74 | copy construct this.x
|
|---|
| 75 | copy constructing int: 1000 id: 25
|
|---|
| 76 | assign this.y
|
|---|
| 77 | copy constructing int: 0 id: 26
|
|---|
| 78 | destructing int: 0 id: 26
|
|---|
| 79 | destructing int: 0 id: 26
|
|---|
| 80 | end copy construct A
|
|---|
| 81 | copy constructing int: 0 id: 27
|
|---|
| 82 | copy constructing int: 0 id: 28
|
|---|
| 83 | begin copy construct A id: 7
|
|---|
| 84 | copy construct this.x
|
|---|
| 85 | copy constructing int: 1001 id: 29
|
|---|
| 86 | assign this.y
|
|---|
| 87 | copy constructing int: 0 id: 30
|
|---|
| 88 | destructing int: 0 id: 30
|
|---|
| 89 | destructing int: 0 id: 30
|
|---|
| 90 | end copy construct A
|
|---|
| 91 | copy constructing int: 0 id: 31
|
|---|
| 92 | copy constructing int: 0 id: 32
|
|---|
| 93 | begin copy construct A id: 8
|
|---|
| 94 | copy construct this.x
|
|---|
| 95 | copy constructing int: 0 id: 33
|
|---|
| 96 | assign this.y
|
|---|
| 97 | copy constructing int: 0 id: 34
|
|---|
| 98 | destructing int: 0 id: 34
|
|---|
| 99 | destructing int: 0 id: 34
|
|---|
| 100 | end copy construct A
|
|---|
| 101 | End of main
|
|---|
| 102 | begin destruct B id: 1
|
|---|
| 103 | constructing int id: 35
|
|---|
| 104 | constructing int id: 36
|
|---|
| 105 | begin construct A id: 9
|
|---|
| 106 | construct a.x
|
|---|
| 107 | constructing int: 999 id: 37
|
|---|
| 108 | assign a.y
|
|---|
| 109 | assigning int: 0 0 id: 35
|
|---|
| 110 | end construct A
|
|---|
| 111 | copy constructing int: 0 id: 38
|
|---|
| 112 | copy constructing int: 0 id: 39
|
|---|
| 113 | begin copy construct A id: 10
|
|---|
| 114 | copy construct this.x
|
|---|
| 115 | copy constructing int: 999 id: 40
|
|---|
| 116 | assign this.y
|
|---|
| 117 | copy constructing int: 0 id: 41
|
|---|
| 118 | destructing int: 0 id: 41
|
|---|
| 119 | destructing int: 0 id: 41
|
|---|
| 120 | end copy construct A
|
|---|
| 121 | begin ?=? A id: 7
|
|---|
| 122 | copy constructing int: 999 id: 42
|
|---|
| 123 | destructing int: 999 id: 42
|
|---|
| 124 | destructing int: 999 id: 42
|
|---|
| 125 | copy constructing int: 0 id: 43
|
|---|
| 126 | destructing int: 0 id: 43
|
|---|
| 127 | destructing int: 0 id: 43
|
|---|
| 128 | copy constructing int: 0 id: 44
|
|---|
| 129 | destructing int: 0 id: 44
|
|---|
| 130 | destructing int: 0 id: 44
|
|---|
| 131 | end ?=? A
|
|---|
| 132 | copy constructing int: 0 id: 45
|
|---|
| 133 | copy constructing int: 0 id: 46
|
|---|
| 134 | begin copy construct A id: 11
|
|---|
| 135 | copy construct this.x
|
|---|
| 136 | copy constructing int: 999 id: 47
|
|---|
| 137 | assign this.y
|
|---|
| 138 | copy constructing int: 0 id: 48
|
|---|
| 139 | destructing int: 0 id: 48
|
|---|
| 140 | destructing int: 0 id: 48
|
|---|
| 141 | end copy construct A
|
|---|
| 142 | destructing int: 0 id: 46
|
|---|
| 143 | destructing int: 0 id: 48
|
|---|
| 144 | destructing int: 999 id: 47
|
|---|
| 145 | destructing int: 0 id: 39
|
|---|
| 146 | destructing int: 0 id: 41
|
|---|
| 147 | destructing int: 999 id: 40
|
|---|
| 148 | destructing int: 0 id: 24
|
|---|
| 149 | destructing int: 0 id: 26
|
|---|
| 150 | destructing int: 1000 id: 25
|
|---|
| 151 | end destruct B
|
|---|
| 152 | destructing int: 0 id: 36
|
|---|
| 153 | destructing int: 0 id: 35
|
|---|
| 154 | destructing int: 999 id: 37
|
|---|
| 155 | destructing int: 0 id: 32
|
|---|
| 156 | destructing int: 0 id: 34
|
|---|
| 157 | destructing int: 0 id: 33
|
|---|
| 158 | destructing int: 0 id: 44
|
|---|
| 159 | destructing int: 0 id: 43
|
|---|
| 160 | destructing int: 999 id: 42
|
|---|
| 161 | begin destruct B id: 2
|
|---|
| 162 | constructing int id: 49
|
|---|
| 163 | constructing int id: 50
|
|---|
| 164 | begin construct A id: 12
|
|---|
| 165 | construct a.x
|
|---|
| 166 | constructing int: 999 id: 51
|
|---|
| 167 | assign a.y
|
|---|
| 168 | assigning int: 0 0 id: 49
|
|---|
| 169 | end construct A
|
|---|
| 170 | copy constructing int: 0 id: 52
|
|---|
| 171 | copy constructing int: 0 id: 53
|
|---|
| 172 | begin copy construct A id: 13
|
|---|
| 173 | copy construct this.x
|
|---|
| 174 | copy constructing int: 999 id: 54
|
|---|
| 175 | assign this.y
|
|---|
| 176 | copy constructing int: 0 id: 55
|
|---|
| 177 | destructing int: 0 id: 55
|
|---|
| 178 | destructing int: 0 id: 55
|
|---|
| 179 | end copy construct A
|
|---|
| 180 | begin ?=? A id: 0
|
|---|
| 181 | copy constructing int: 999 id: 56
|
|---|
| 182 | destructing int: 999 id: 56
|
|---|
| 183 | destructing int: 999 id: 56
|
|---|
| 184 | copy constructing int: 0 id: 57
|
|---|
| 185 | destructing int: 0 id: 57
|
|---|
| 186 | destructing int: 0 id: 57
|
|---|
| 187 | copy constructing int: 0 id: 58
|
|---|
| 188 | destructing int: 0 id: 58
|
|---|
| 189 | destructing int: 0 id: 58
|
|---|
| 190 | end ?=? A
|
|---|
| 191 | copy constructing int: 0 id: 59
|
|---|
| 192 | copy constructing int: 0 id: 60
|
|---|
| 193 | begin copy construct A id: 14
|
|---|
| 194 | copy construct this.x
|
|---|
| 195 | copy constructing int: 999 id: 61
|
|---|
| 196 | assign this.y
|
|---|
| 197 | copy constructing int: 0 id: 62
|
|---|
| 198 | destructing int: 0 id: 62
|
|---|
| 199 | destructing int: 0 id: 62
|
|---|
| 200 | end copy construct A
|
|---|
| 201 | destructing int: 0 id: 60
|
|---|
| 202 | destructing int: 0 id: 62
|
|---|
| 203 | destructing int: 999 id: 61
|
|---|
| 204 | destructing int: 0 id: 53
|
|---|
| 205 | destructing int: 0 id: 55
|
|---|
| 206 | destructing int: 999 id: 54
|
|---|
| 207 | destructing int: 0 id: 21
|
|---|
| 208 | destructing int: 0 id: 20
|
|---|
| 209 | destructing int: 1000 id: 22
|
|---|
| 210 | end destruct B
|
|---|
| 211 | destructing int: 0 id: 50
|
|---|
| 212 | destructing int: 0 id: 49
|
|---|
| 213 | destructing int: 999 id: 51
|
|---|
| 214 | destructing int: 0 id: 5
|
|---|
| 215 | destructing int: 0 id: 4
|
|---|
| 216 | destructing int: 0 id: 3
|
|---|
| 217 | destructing int: 0 id: 58
|
|---|
| 218 | destructing int: 0 id: 57
|
|---|
| 219 | destructing int: 999 id: 56
|
|---|