C++ student template