next class template draft with one compilation test