Update class_templates.cpp