prog.cpp: In instantiation of ‘struct hanoi<1, 1, 2, 3, 4>’:
prog.cpp:10:37: recursively required from ‘struct hanoi<2, 1, 3, 2, 2>’
prog.cpp:10:37: required from ‘struct hanoi<3, 1, 2, 3, 1>’
prog.cpp:21:22: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<1, 3>’
typename move_disc<src, dst>::lol disc;
^
prog.cpp: In instantiation of ‘struct hanoi<2, 1, 3, 2, 2>’:
prog.cpp:10:37: required from ‘struct hanoi<3, 1, 2, 3, 1>’
prog.cpp:21:22: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<1, 2>’
prog.cpp: In instantiation of ‘struct hanoi<1, 3, 1, 2, 5>’:
prog.cpp:12:39: required from ‘struct hanoi<2, 1, 3, 2, 2>’
prog.cpp:10:37: required from ‘struct hanoi<3, 1, 2, 3, 1>’
prog.cpp:21:22: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<3, 2>’
prog.cpp: In instantiation of ‘struct hanoi<3, 1, 2, 3, 1>’:
prog.cpp:21:22: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<1, 3>’
prog.cpp: In instantiation of ‘struct hanoi<1, 2, 3, 1, 6>’:
prog.cpp:10:37: required from ‘struct hanoi<2, 2, 1, 3, 3>’
prog.cpp:12:39: required from ‘struct hanoi<3, 1, 2, 3, 1>’
prog.cpp:21:22: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<2, 1>’
prog.cpp: In instantiation of ‘struct hanoi<2, 2, 1, 3, 3>’:
prog.cpp:12:39: required from ‘struct hanoi<3, 1, 2, 3, 1>’
prog.cpp:21:22: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<2, 3>’
prog.cpp: In instantiation of ‘struct hanoi<1, 1, 2, 3, 7>’:
prog.cpp:12:39: recursively required from ‘struct hanoi<2, 2, 1, 3, 3>’
prog.cpp:12:39: required from ‘struct hanoi<3, 1, 2, 3, 1>’
prog.cpp:21:22: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<1, 3>’