Menu

operators-minus

Will Pittenger
  • Type: Binary
  • Required prototype:

    ~~~~
    :::text
    \operator\ -\ \var\ /Param1TypeDescriptor/ /Param1Identifier/, \var\ /Param2TypeDescriptor/ /Param2Identifier/
    \returns\ /ReturnTypeDescriptor/
    ~~~~

    • For more on what /Param1TypeDescriptor/, /Param2TypeDescriptor/, and /ReturnTypeDescriptor/ can be; see Type descriptors. For more on custom operators, see the section [Custom operators]. Related operators:

  • Overrides provided for built-in ASIL types

    • Member of all number types (represented below by "T")

      ~~~~
      :::text
      operator - var T left, var T right
      returns T
      ~~~~


Related

Wiki: Custom operators
Wiki: Operators
Wiki: operators-addition
Wiki: operators-multiplication