I'm new to operator overloading, and I don't know if this is possible. I want to create my own stream system to output debug specs to an edit control. I want it to function like this:
That code would result in that string, then that integer, then that string being sent to a function as parameters. Is this possible?Code:debugStream ds;
ds << "Current Index: " << currIndex << endl;