#include #include #include "except.h" #include "printable.h" using namespace std; int main() { int status = EXIT_FAILURE; try { printable p = 'A'; cout << p; //operator<<(cout, p.operator char()); cout << "\n"; cout << ++p; //operator<<(cout, p.operator++().operator char()); cout << "\n"; p = '\0'; status = EXIT_SUCCESS; } catch (const except& e) { cerr << e.what() << "\n"; } return status; }