#include using namespace std; ostream& operator<<(ostream& lhs, Text const& rhs) { return lhs << string(rhs); } int main() { Text const t1{"Hej"}; Text const t2{"Svej"}; Text t3{t1+t2}; cout << t1 << " + " << t2 << " = " << t3 << '\n'; cout << t3 << " * " << 4 << " = " << t3 * 4 << '\n'; cout << t3 << " - " << "'e'" << " = " << t3 - 'e' << endl; }