Home > Back-end >  Why c overloaded <operator must be two parameters
Why c overloaded <operator must be two parameters

Time:10-04

Why c + + overloading & lt; & lt; Operators must is two parameters, not like + - operator, both can be overloaded as two parameters, also can be overloaded as a parameter?

CodePudding user response:

You & lt; & lt; Must be two operands operation?
+ and - if either two operands operations, and can be used as a symbolic operation change? - var. + var

CodePudding user response:

Have monocular or binocular have three eyes, also have single binocular (different)

CodePudding user response:

Input and output redirection to active the orientation and
  • Related