How I can create stream manipulator for string processing?

69 Views Asked by At

For example I want to create manipulator to convert string from lowercase to uppercase, and it must to use like: cout << toUpper << "abc"; How can I get source string from ostream type for further use?

0

There are 0 best solutions below