Untitled
public text v1 · immutabletemplate<class T,int N>
struct kompilina
{
typedef kompilina<T,N - 1> next_iter;
static void Next(){ next_iter::Next(); };
};
template<>
struct kompilina<class T,0>
{
static void Next(){};
};
void main()
{
kompilina<float, 10> aha;
}