Function operator==(istream&, const string&)

Function Documentation

istream &operator==(istream &input, const string &search)

Looks for the string search in the input stream and positions the stream right after the string if found.

If not, returns the stream at EOF. Used to input parameters (located after a keyword) or options that are not mandatory

Parameters:
  • flux – input stream to search in

  • search – keyword string to look for