You can define the behavior of an operator when one or both of the operands are of the type of your class or structure.

  • 在一个或两个操作数都是您的类或结构的类型时,可以定义一个运算符的行为。
目录 查词历史