Advertisement
Guest User

faust

a guest
Apr 20th, 2012
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.83 KB | None | 0 0
  1. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<40U == 40U, Stop>::result' (aka 'Stop')
  2. typename TypeIf<I == E, Stop>::result there_are_divisors;
  3. ^
  4. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 40, 40>' requested here
  5. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  6. ^
  7. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 39, 40>' requested here
  8. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  9. ^
  10. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 38, 40>' requested here
  11. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  12. ^
  13. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 37, 40>' requested here
  14. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  15. ^
  16. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 36, 40>' requested here
  17. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  18. ^
  19. primes.cpp:15:65: note: (skipping 31 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  20. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 4, 40>' requested here
  21. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  22. ^
  23. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 3, 40>' requested here
  24. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  25. ^
  26. primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<79, 2, 40>' requested here
  27. DivisorIterator<N, 2, N/2+1> check_cur;
  28. ^
  29. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  30. NumberIterator<N-1> next_number;
  31. ^
  32. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  33. static const NumberIterator<80> a;
  34. ^
  35. primes.cpp:1:8: note: forward declaration of 'Stop'
  36. struct Stop;
  37. ^
  38. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<37U == 37U, Stop>::result' (aka 'Stop')
  39. typename TypeIf<I == E, Stop>::result there_are_divisors;
  40. ^
  41. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 37, 37>' requested here
  42. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  43. ^
  44. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 36, 37>' requested here
  45. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  46. ^
  47. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 35, 37>' requested here
  48. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  49. ^
  50. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 34, 37>' requested here
  51. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  52. ^
  53. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 33, 37>' requested here
  54. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  55. ^
  56. primes.cpp:15:65: note: (skipping 34 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  57. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  58. NumberIterator<N-1> next_number;
  59. ^
  60. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  61. NumberIterator<N-1> next_number;
  62. ^
  63. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  64. NumberIterator<N-1> next_number;
  65. ^
  66. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  67. NumberIterator<N-1> next_number;
  68. ^
  69. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  70. static const NumberIterator<80> a;
  71. ^
  72. primes.cpp:1:8: note: forward declaration of 'Stop'
  73. struct Stop;
  74. ^
  75. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<36U == 36U, Stop>::result' (aka 'Stop')
  76. typename TypeIf<I == E, Stop>::result there_are_divisors;
  77. ^
  78. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 36, 36>' requested here
  79. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  80. ^
  81. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 35, 36>' requested here
  82. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  83. ^
  84. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 34, 36>' requested here
  85. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  86. ^
  87. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 33, 36>' requested here
  88. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  89. ^
  90. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 32, 36>' requested here
  91. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  92. ^
  93. primes.cpp:15:65: note: (skipping 35 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  94. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  95. NumberIterator<N-1> next_number;
  96. ^
  97. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  98. NumberIterator<N-1> next_number;
  99. ^
  100. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  101. NumberIterator<N-1> next_number;
  102. ^
  103. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  104. NumberIterator<N-1> next_number;
  105. ^
  106. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  107. static const NumberIterator<80> a;
  108. ^
  109. primes.cpp:1:8: note: forward declaration of 'Stop'
  110. struct Stop;
  111. ^
  112. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<34U == 34U, Stop>::result' (aka 'Stop')
  113. typename TypeIf<I == E, Stop>::result there_are_divisors;
  114. ^
  115. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 34, 34>' requested here
  116. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  117. ^
  118. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 33, 34>' requested here
  119. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  120. ^
  121. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 32, 34>' requested here
  122. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  123. ^
  124. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 31, 34>' requested here
  125. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  126. ^
  127. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 30, 34>' requested here
  128. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  129. ^
  130. primes.cpp:15:65: note: (skipping 37 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  131. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  132. NumberIterator<N-1> next_number;
  133. ^
  134. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  135. NumberIterator<N-1> next_number;
  136. ^
  137. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  138. NumberIterator<N-1> next_number;
  139. ^
  140. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  141. NumberIterator<N-1> next_number;
  142. ^
  143. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  144. static const NumberIterator<80> a;
  145. ^
  146. primes.cpp:1:8: note: forward declaration of 'Stop'
  147. struct Stop;
  148. ^
  149. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<31U == 31U, Stop>::result' (aka 'Stop')
  150. typename TypeIf<I == E, Stop>::result there_are_divisors;
  151. ^
  152. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 31, 31>' requested here
  153. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  154. ^
  155. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 30, 31>' requested here
  156. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  157. ^
  158. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 29, 31>' requested here
  159. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  160. ^
  161. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 28, 31>' requested here
  162. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  163. ^
  164. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 27, 31>' requested here
  165. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  166. ^
  167. primes.cpp:15:65: note: (skipping 40 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  168. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  169. NumberIterator<N-1> next_number;
  170. ^
  171. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  172. NumberIterator<N-1> next_number;
  173. ^
  174. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  175. NumberIterator<N-1> next_number;
  176. ^
  177. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  178. NumberIterator<N-1> next_number;
  179. ^
  180. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  181. static const NumberIterator<80> a;
  182. ^
  183. primes.cpp:1:8: note: forward declaration of 'Stop'
  184. struct Stop;
  185. ^
  186. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<30U == 30U, Stop>::result' (aka 'Stop')
  187. typename TypeIf<I == E, Stop>::result there_are_divisors;
  188. ^
  189. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 30, 30>' requested here
  190. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  191. ^
  192. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 29, 30>' requested here
  193. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  194. ^
  195. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 28, 30>' requested here
  196. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  197. ^
  198. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 27, 30>' requested here
  199. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  200. ^
  201. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 26, 30>' requested here
  202. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  203. ^
  204. primes.cpp:15:65: note: (skipping 41 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  205. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  206. NumberIterator<N-1> next_number;
  207. ^
  208. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  209. NumberIterator<N-1> next_number;
  210. ^
  211. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  212. NumberIterator<N-1> next_number;
  213. ^
  214. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  215. NumberIterator<N-1> next_number;
  216. ^
  217. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  218. static const NumberIterator<80> a;
  219. ^
  220. primes.cpp:1:8: note: forward declaration of 'Stop'
  221. struct Stop;
  222. ^
  223. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<27U == 27U, Stop>::result' (aka 'Stop')
  224. typename TypeIf<I == E, Stop>::result there_are_divisors;
  225. ^
  226. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 27, 27>' requested here
  227. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  228. ^
  229. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 26, 27>' requested here
  230. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  231. ^
  232. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 25, 27>' requested here
  233. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  234. ^
  235. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 24, 27>' requested here
  236. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  237. ^
  238. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 23, 27>' requested here
  239. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  240. ^
  241. primes.cpp:15:65: note: (skipping 44 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  242. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  243. NumberIterator<N-1> next_number;
  244. ^
  245. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  246. NumberIterator<N-1> next_number;
  247. ^
  248. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  249. NumberIterator<N-1> next_number;
  250. ^
  251. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  252. NumberIterator<N-1> next_number;
  253. ^
  254. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  255. static const NumberIterator<80> a;
  256. ^
  257. primes.cpp:1:8: note: forward declaration of 'Stop'
  258. struct Stop;
  259. ^
  260. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<24U == 24U, Stop>::result' (aka 'Stop')
  261. typename TypeIf<I == E, Stop>::result there_are_divisors;
  262. ^
  263. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 24, 24>' requested here
  264. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  265. ^
  266. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 23, 24>' requested here
  267. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  268. ^
  269. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 22, 24>' requested here
  270. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  271. ^
  272. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 21, 24>' requested here
  273. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  274. ^
  275. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 20, 24>' requested here
  276. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  277. ^
  278. primes.cpp:15:65: note: (skipping 47 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  279. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  280. NumberIterator<N-1> next_number;
  281. ^
  282. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  283. NumberIterator<N-1> next_number;
  284. ^
  285. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  286. NumberIterator<N-1> next_number;
  287. ^
  288. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  289. NumberIterator<N-1> next_number;
  290. ^
  291. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  292. static const NumberIterator<80> a;
  293. ^
  294. primes.cpp:1:8: note: forward declaration of 'Stop'
  295. struct Stop;
  296. ^
  297. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<22U == 22U, Stop>::result' (aka 'Stop')
  298. typename TypeIf<I == E, Stop>::result there_are_divisors;
  299. ^
  300. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 22, 22>' requested here
  301. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  302. ^
  303. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 21, 22>' requested here
  304. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  305. ^
  306. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 20, 22>' requested here
  307. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  308. ^
  309. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 19, 22>' requested here
  310. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  311. ^
  312. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 18, 22>' requested here
  313. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  314. ^
  315. primes.cpp:15:65: note: (skipping 49 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  316. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  317. NumberIterator<N-1> next_number;
  318. ^
  319. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  320. NumberIterator<N-1> next_number;
  321. ^
  322. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  323. NumberIterator<N-1> next_number;
  324. ^
  325. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  326. NumberIterator<N-1> next_number;
  327. ^
  328. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  329. static const NumberIterator<80> a;
  330. ^
  331. primes.cpp:1:8: note: forward declaration of 'Stop'
  332. struct Stop;
  333. ^
  334. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<21U == 21U, Stop>::result' (aka 'Stop')
  335. typename TypeIf<I == E, Stop>::result there_are_divisors;
  336. ^
  337. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 21, 21>' requested here
  338. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  339. ^
  340. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 20, 21>' requested here
  341. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  342. ^
  343. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 19, 21>' requested here
  344. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  345. ^
  346. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 18, 21>' requested here
  347. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  348. ^
  349. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 17, 21>' requested here
  350. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  351. ^
  352. primes.cpp:15:65: note: (skipping 50 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  353. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  354. NumberIterator<N-1> next_number;
  355. ^
  356. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  357. NumberIterator<N-1> next_number;
  358. ^
  359. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  360. NumberIterator<N-1> next_number;
  361. ^
  362. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  363. NumberIterator<N-1> next_number;
  364. ^
  365. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  366. static const NumberIterator<80> a;
  367. ^
  368. primes.cpp:1:8: note: forward declaration of 'Stop'
  369. struct Stop;
  370. ^
  371. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<19U == 19U, Stop>::result' (aka 'Stop')
  372. typename TypeIf<I == E, Stop>::result there_are_divisors;
  373. ^
  374. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 19, 19>' requested here
  375. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  376. ^
  377. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 18, 19>' requested here
  378. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  379. ^
  380. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 17, 19>' requested here
  381. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  382. ^
  383. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 16, 19>' requested here
  384. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  385. ^
  386. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 15, 19>' requested here
  387. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  388. ^
  389. primes.cpp:15:65: note: (skipping 52 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  390. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  391. NumberIterator<N-1> next_number;
  392. ^
  393. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  394. NumberIterator<N-1> next_number;
  395. ^
  396. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  397. NumberIterator<N-1> next_number;
  398. ^
  399. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  400. NumberIterator<N-1> next_number;
  401. ^
  402. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  403. static const NumberIterator<80> a;
  404. ^
  405. primes.cpp:1:8: note: forward declaration of 'Stop'
  406. struct Stop;
  407. ^
  408. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<16U == 16U, Stop>::result' (aka 'Stop')
  409. typename TypeIf<I == E, Stop>::result there_are_divisors;
  410. ^
  411. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 16, 16>' requested here
  412. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  413. ^
  414. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 15, 16>' requested here
  415. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  416. ^
  417. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 14, 16>' requested here
  418. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  419. ^
  420. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 13, 16>' requested here
  421. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  422. ^
  423. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 12, 16>' requested here
  424. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  425. ^
  426. primes.cpp:15:65: note: (skipping 55 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  427. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  428. NumberIterator<N-1> next_number;
  429. ^
  430. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  431. NumberIterator<N-1> next_number;
  432. ^
  433. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  434. NumberIterator<N-1> next_number;
  435. ^
  436. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  437. NumberIterator<N-1> next_number;
  438. ^
  439. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  440. static const NumberIterator<80> a;
  441. ^
  442. primes.cpp:1:8: note: forward declaration of 'Stop'
  443. struct Stop;
  444. ^
  445. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<15U == 15U, Stop>::result' (aka 'Stop')
  446. typename TypeIf<I == E, Stop>::result there_are_divisors;
  447. ^
  448. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 15, 15>' requested here
  449. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  450. ^
  451. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 14, 15>' requested here
  452. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  453. ^
  454. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 13, 15>' requested here
  455. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  456. ^
  457. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 12, 15>' requested here
  458. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  459. ^
  460. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 11, 15>' requested here
  461. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  462. ^
  463. primes.cpp:15:65: note: (skipping 56 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  464. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  465. NumberIterator<N-1> next_number;
  466. ^
  467. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  468. NumberIterator<N-1> next_number;
  469. ^
  470. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  471. NumberIterator<N-1> next_number;
  472. ^
  473. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  474. NumberIterator<N-1> next_number;
  475. ^
  476. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  477. static const NumberIterator<80> a;
  478. ^
  479. primes.cpp:1:8: note: forward declaration of 'Stop'
  480. struct Stop;
  481. ^
  482. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<12U == 12U, Stop>::result' (aka 'Stop')
  483. typename TypeIf<I == E, Stop>::result there_are_divisors;
  484. ^
  485. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 12, 12>' requested here
  486. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  487. ^
  488. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 11, 12>' requested here
  489. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  490. ^
  491. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 10, 12>' requested here
  492. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  493. ^
  494. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 9, 12>' requested here
  495. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  496. ^
  497. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 8, 12>' requested here
  498. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  499. ^
  500. primes.cpp:15:65: note: (skipping 59 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  501. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  502. NumberIterator<N-1> next_number;
  503. ^
  504. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  505. NumberIterator<N-1> next_number;
  506. ^
  507. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  508. NumberIterator<N-1> next_number;
  509. ^
  510. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  511. NumberIterator<N-1> next_number;
  512. ^
  513. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  514. static const NumberIterator<80> a;
  515. ^
  516. primes.cpp:1:8: note: forward declaration of 'Stop'
  517. struct Stop;
  518. ^
  519. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<10U == 10U, Stop>::result' (aka 'Stop')
  520. typename TypeIf<I == E, Stop>::result there_are_divisors;
  521. ^
  522. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 10, 10>' requested here
  523. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  524. ^
  525. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 9, 10>' requested here
  526. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  527. ^
  528. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 8, 10>' requested here
  529. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  530. ^
  531. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 7, 10>' requested here
  532. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  533. ^
  534. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 6, 10>' requested here
  535. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  536. ^
  537. primes.cpp:15:65: note: (skipping 61 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  538. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  539. NumberIterator<N-1> next_number;
  540. ^
  541. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  542. NumberIterator<N-1> next_number;
  543. ^
  544. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  545. NumberIterator<N-1> next_number;
  546. ^
  547. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  548. NumberIterator<N-1> next_number;
  549. ^
  550. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  551. static const NumberIterator<80> a;
  552. ^
  553. primes.cpp:1:8: note: forward declaration of 'Stop'
  554. struct Stop;
  555. ^
  556. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<9U == 9U, Stop>::result' (aka 'Stop')
  557. typename TypeIf<I == E, Stop>::result there_are_divisors;
  558. ^
  559. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 9, 9>' requested here
  560. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  561. ^
  562. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 8, 9>' requested here
  563. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  564. ^
  565. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 7, 9>' requested here
  566. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  567. ^
  568. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 6, 9>' requested here
  569. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  570. ^
  571. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 5, 9>' requested here
  572. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  573. ^
  574. primes.cpp:15:65: note: (skipping 62 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  575. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  576. NumberIterator<N-1> next_number;
  577. ^
  578. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  579. NumberIterator<N-1> next_number;
  580. ^
  581. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  582. NumberIterator<N-1> next_number;
  583. ^
  584. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  585. NumberIterator<N-1> next_number;
  586. ^
  587. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  588. static const NumberIterator<80> a;
  589. ^
  590. primes.cpp:1:8: note: forward declaration of 'Stop'
  591. struct Stop;
  592. ^
  593. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<7U == 7U, Stop>::result' (aka 'Stop')
  594. typename TypeIf<I == E, Stop>::result there_are_divisors;
  595. ^
  596. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 7, 7>' requested here
  597. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  598. ^
  599. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 6, 7>' requested here
  600. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  601. ^
  602. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 5, 7>' requested here
  603. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  604. ^
  605. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 4, 7>' requested here
  606. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  607. ^
  608. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 3, 7>' requested here
  609. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  610. ^
  611. primes.cpp:21:34: note: (skipping 64 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  612. DivisorIterator<N, 2, N/2+1> check_cur;
  613. ^
  614. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  615. NumberIterator<N-1> next_number;
  616. ^
  617. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  618. NumberIterator<N-1> next_number;
  619. ^
  620. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  621. NumberIterator<N-1> next_number;
  622. ^
  623. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  624. NumberIterator<N-1> next_number;
  625. ^
  626. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  627. static const NumberIterator<80> a;
  628. ^
  629. primes.cpp:1:8: note: forward declaration of 'Stop'
  630. struct Stop;
  631. ^
  632. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<6U == 6U, Stop>::result' (aka 'Stop')
  633. typename TypeIf<I == E, Stop>::result there_are_divisors;
  634. ^
  635. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 6, 6>' requested here
  636. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  637. ^
  638. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 5, 6>' requested here
  639. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  640. ^
  641. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 4, 6>' requested here
  642. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  643. ^
  644. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 3, 6>' requested here
  645. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  646. ^
  647. primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<11, 2, 6>' requested here
  648. DivisorIterator<N, 2, N/2+1> check_cur;
  649. ^
  650. primes.cpp:22:25: note: (skipping 65 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  651. NumberIterator<N-1> next_number;
  652. ^
  653. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  654. NumberIterator<N-1> next_number;
  655. ^
  656. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  657. NumberIterator<N-1> next_number;
  658. ^
  659. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  660. NumberIterator<N-1> next_number;
  661. ^
  662. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  663. NumberIterator<N-1> next_number;
  664. ^
  665. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  666. static const NumberIterator<80> a;
  667. ^
  668. primes.cpp:1:8: note: forward declaration of 'Stop'
  669. struct Stop;
  670. ^
  671. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<4U == 4U, Stop>::result' (aka 'Stop')
  672. typename TypeIf<I == E, Stop>::result there_are_divisors;
  673. ^
  674. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<7, 4, 4>' requested here
  675. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  676. ^
  677. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<7, 3, 4>' requested here
  678. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  679. ^
  680. primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<7, 2, 4>' requested here
  681. DivisorIterator<N, 2, N/2+1> check_cur;
  682. ^
  683. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<7>' requested here
  684. NumberIterator<N-1> next_number;
  685. ^
  686. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<8>' requested here
  687. NumberIterator<N-1> next_number;
  688. ^
  689. primes.cpp:22:25: note: (skipping 67 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  690. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  691. NumberIterator<N-1> next_number;
  692. ^
  693. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  694. NumberIterator<N-1> next_number;
  695. ^
  696. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  697. NumberIterator<N-1> next_number;
  698. ^
  699. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  700. NumberIterator<N-1> next_number;
  701. ^
  702. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  703. static const NumberIterator<80> a;
  704. ^
  705. primes.cpp:1:8: note: forward declaration of 'Stop'
  706. struct Stop;
  707. ^
  708. primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<3U == 3U, Stop>::result' (aka 'Stop')
  709. typename TypeIf<I == E, Stop>::result there_are_divisors;
  710. ^
  711. primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<5, 3, 3>' requested here
  712. typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
  713. ^
  714. primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<5, 2, 3>' requested here
  715. DivisorIterator<N, 2, N/2+1> check_cur;
  716. ^
  717. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<5>' requested here
  718. NumberIterator<N-1> next_number;
  719. ^
  720. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<6>' requested here
  721. NumberIterator<N-1> next_number;
  722. ^
  723. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<7>' requested here
  724. NumberIterator<N-1> next_number;
  725. ^
  726. primes.cpp:22:25: note: (skipping 68 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  727. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
  728. NumberIterator<N-1> next_number;
  729. ^
  730. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
  731. NumberIterator<N-1> next_number;
  732. ^
  733. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
  734. NumberIterator<N-1> next_number;
  735. ^
  736. primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
  737. NumberIterator<N-1> next_number;
  738. ^
  739. primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
  740. static const NumberIterator<80> a;
  741. ^
  742. primes.cpp:1:8: note: forward declaration of 'Stop'
  743. struct Stop;
  744. ^
  745. 20 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement