0_0_17489561_20296.cpp:9:107: error: template instantiation depth exceeds maximum of 900 (use -ftemplate-depth= to increase the maximum) instantiating 'class getdt<3099>'
return num[x]=((x==1||x==3||x==5||x==7||x==8||x==10||x==12?31:(x==2?28:30)) + getdt<x-1>::getx(num));
^
0_0_17489561_20296.cpp:9:107: recursively required from 'static int getdt<x>::getx(int*) [with int x = 3998]'
0_0_17489561_20296.cpp:9:107: required from 'static int getdt<x>::getx(int*) [with int x = 3999]'
0_0_17489561_20296.cpp:32:18: required from here
0_0_17489561_20296.cpp:9:107: error: incomplete type 'getdt<3099>' used in nested name specifier
|