#include #include #include using namespace std; template inline void print(const T& t) {cout << t << "\n";} template <> inline void print(const char& c) {cout << "'" << c << "'\n";} template <> inline void print(const string& s) {cout << "\"" << s << "\"\n";} int main() { int i = 10; char c = 'A'; string s = "hello"; print(i); print(c); print(s); return EXIT_SUCCESS; }