I want to pass a "" or NULL value to a function which has the operator << overloaded.
I have :
Qt Code:
myclass::operator << (std::string data) {} myclass::operator << (const char * data) {} myclass::operator << (bool data) {}To copy to clipboard, switch view to plain text mode
Ok , if I call class<<""; I see that function used is the bool ???????
How can I do to detect "" or NULL ???? What kind of types are ?
Any help ? Thanks
Bookmarks