Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<40U == 40U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 40, 40>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 39, 40>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 38, 40>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 37, 40>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 36, 40>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 31 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 4, 40>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<79, 3, 40>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<79, 2, 40>' requested here
- DivisorIterator<N, 2, N/2+1> check_cur;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<37U == 37U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 37, 37>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 36, 37>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 35, 37>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 34, 37>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<73, 33, 37>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 34 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<36U == 36U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 36, 36>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 35, 36>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 34, 36>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 33, 36>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<71, 32, 36>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 35 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<34U == 34U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 34, 34>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 33, 34>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 32, 34>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 31, 34>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<67, 30, 34>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 37 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<31U == 31U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 31, 31>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 30, 31>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 29, 31>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 28, 31>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<61, 27, 31>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 40 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<30U == 30U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 30, 30>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 29, 30>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 28, 30>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 27, 30>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<59, 26, 30>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 41 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<27U == 27U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 27, 27>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 26, 27>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 25, 27>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 24, 27>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<53, 23, 27>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 44 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<24U == 24U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 24, 24>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 23, 24>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 22, 24>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 21, 24>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<47, 20, 24>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 47 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<22U == 22U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 22, 22>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 21, 22>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 20, 22>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 19, 22>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<43, 18, 22>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 49 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<21U == 21U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 21, 21>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 20, 21>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 19, 21>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 18, 21>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<41, 17, 21>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 50 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<19U == 19U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 19, 19>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 18, 19>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 17, 19>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 16, 19>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<37, 15, 19>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 52 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<16U == 16U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 16, 16>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 15, 16>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 14, 16>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 13, 16>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<31, 12, 16>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 55 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<15U == 15U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 15, 15>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 14, 15>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 13, 15>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 12, 15>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<29, 11, 15>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 56 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<12U == 12U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 12, 12>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 11, 12>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 10, 12>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 9, 12>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<23, 8, 12>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 59 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<10U == 10U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 10, 10>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 9, 10>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 8, 10>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 7, 10>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<19, 6, 10>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 61 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<9U == 9U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 9, 9>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 8, 9>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 7, 9>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 6, 9>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<17, 5, 9>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: (skipping 62 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<7U == 7U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 7, 7>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 6, 7>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 5, 7>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 4, 7>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<13, 3, 7>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:21:34: note: (skipping 64 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- DivisorIterator<N, 2, N/2+1> check_cur;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<6U == 6U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 6, 6>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 5, 6>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 4, 6>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<11, 3, 6>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<11, 2, 6>' requested here
- DivisorIterator<N, 2, N/2+1> check_cur;
- ^
- primes.cpp:22:25: note: (skipping 65 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<4U == 4U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<7, 4, 4>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<7, 3, 4>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<7, 2, 4>' requested here
- DivisorIterator<N, 2, N/2+1> check_cur;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<7>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<8>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: (skipping 67 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- primes.cpp:14:43: error: field has incomplete type 'typename TypeIf<3U == 3U, Stop>::result' (aka 'Stop')
- typename TypeIf<I == E, Stop>::result there_are_divisors;
- ^
- primes.cpp:15:65: note: in instantiation of template class 'DivisorIterator<5, 3, 3>' requested here
- typename TypeIf<N % I, DivisorIterator<N, I+1, E> >::result next_divisor;
- ^
- primes.cpp:21:34: note: in instantiation of template class 'DivisorIterator<5, 2, 3>' requested here
- DivisorIterator<N, 2, N/2+1> check_cur;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<5>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<6>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<7>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: (skipping 68 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<76>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<77>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<78>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:22:25: note: in instantiation of template class 'NumberIterator<79>' requested here
- NumberIterator<N-1> next_number;
- ^
- primes.cpp:30:33: note: in instantiation of template class 'NumberIterator<80>' requested here
- static const NumberIterator<80> a;
- ^
- primes.cpp:1:8: note: forward declaration of 'Stop'
- struct Stop;
- ^
- 20 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement