#ifndef PRINTER_H_ #define PRINTER_H_ #include using namespace std; template class Printer { public: Printer() { cout << "Printer object initialized" << endl; } ~Printer(){ cout << "Printer object destroyed" << endl; } void print(Object obj) { cout << "Object to be printed: " << obj << endl; } }; #endif