C++ Forever
0
Newbie Poster
Recommended Answers
Jump to PostSince this is a member of the class (not a static method), you can leave off the first argument and in the body of the method do this:
void instream::operator<<(char[] data) { this->someOutputFunction(data); }
Just an aside, if this is an input stream, why are you …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.