Commit bf79226
authored
Multithreading tests: Add dummy definition to keep compiler happy (#737)
* Multithreading tests: Add dummy definition to keep compiler happy
This type is instantiated by the deleted constructor whose original
purpose is to allow an implicit conversion from non-const iterator to
const iterator. When applied to the const iterator itself, it
enables an implicit conversion from garbage to const iterator.
The conversion is deleted, but the compiler still instantiates it,
so we define the type to keep everybody happy.
* Clarify the purpose of the specialization1 parent 84d2814 commit bf79226
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
240 | 251 | | |
241 | 252 | | |
242 | 253 | | |
| |||
0 commit comments