prog.cpp: In instantiation of ‘struct hanoi<1, 1, 2, 3>’:
prog.cpp:10:31: recursively required from ‘struct hanoi<2, 1, 3, 2>’
prog.cpp:10:31: required from ‘struct hanoi<3, 1, 2, 3>’
prog.cpp:21:19: 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>’:
prog.cpp:10:31: required from ‘struct hanoi<3, 1, 2, 3>’
prog.cpp:21:19: 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>’:
prog.cpp:12:31: required from ‘struct hanoi<2, 1, 3, 2>’
prog.cpp:10:31: required from ‘struct hanoi<3, 1, 2, 3>’
prog.cpp:21:19: 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>’:
prog.cpp:21:19: 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>’:
prog.cpp:10:31: required from ‘struct hanoi<2, 2, 1, 3>’
prog.cpp:12:31: required from ‘struct hanoi<3, 1, 2, 3>’
prog.cpp:21:19: 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>’:
prog.cpp:12:31: required from ‘struct hanoi<3, 1, 2, 3>’
prog.cpp:21:19: required from here
prog.cpp:11:39: error: no type named ‘lol’ in ‘struct move_disc<2, 3>’