I want to pass a "" or NULL value to a function which has the operator << overloaded.
I have :

Qt Code:
  1. myclass::operator << (std::string data) {}
  2.  
  3. myclass::operator << (const char * data) {}
  4.  
  5. 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