   C++ Metaprogramming specialization question
  Hello, could anyone help me with this metaprogramming problem? I wish i could use loop class as an template argument?template<class TYPE, int LENGTH>struct loop{}template<class TYPE, int LENGTH, class LOOP_TYPE>struct loop_applier{}typedef loop_applier<int, 10, loop> my_applier;// generates the following:// error C3203: 'loop' : unspecialized class template can't be used as a template argument for template parameter 'LOOP_TYPE', expected a real type
  Apart from types and non-types, you can also templatize upon, tadah, templates :)See also C++ Template: The complete guide / Section 5.4: Template Template Parameters.;  Or you can "un-template" the loop class and give it an inner class or function that is templated instead.   