NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Binary Operators

Binary operators take two arguments, perform some operation and return a value. They are represented as static methods on the class that defines the type of one of their two operands. The following table shows the names that are defined.

Name C++ Operator Symbol
op_Addition + (binary)
op_Subtraction - (binary)
op_Multiply * (binary)
op_Division /
op_Modulus %
op_ExclusiveOr ^
op_BitwiseAnd & (binary)
op_BitwiseOr |
op_LogicalAnd &&
op_LogicalOr ||
op_Assign =
op_LeftShift <<
op_RightShift >>
op_SignedRightShift Not defined
op_UnsignedRightShift Not defined
op_Equality ==
op_GreaterThan >
op_LessThan <
op_Inequality !=
op_GreaterThanOrEqual >=
op_LessThanOrEqual <=
op_UnsignedRightShiftAssignment Not defined
op_MemberSelection ->
op_RightShiftAssignment >>=
op_MultiplicationAssignment *=
OpPointerToMemberSelection ->*
op_SubtractionAssignment -=
op_ExclusiveOrAssignment ^=
op_LeftShiftAssignment <<=
op_ModulusAssignment %=
op_AdditionAssignment +=
op_BitwiseAndAssignment &=
op_BitwiseOrAssignment |=
op_Comma ,
op_DivisionAssignment /=