Operator: |=

  • operator |= {
  •                  associativity right
  •                  precedence
  •                  assignment
  •                  }

Declarations

func |=(_: inout Int, rhs: Int)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

  • func |=(lhs: inout Int, rhs: Int)
func |=(_: inout Int8, rhs: Int8)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout Int16, rhs: Int16)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout Int32, rhs: Int32)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout Int64, rhs: Int64)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout UInt, rhs: UInt)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout UInt8, rhs: UInt8)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout UInt16, rhs: UInt16)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout UInt32, rhs: UInt32)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |=(_: inout UInt64, rhs: UInt64)

Calculates the union of bits set in the two arguments and stores the result in the first argument.

See Also: BitwiseOperations

Declaration

func |= <T : BitwiseOperations>(_: inout T, rhs: T)

Calculates the union of bits sets in the two arguments and stores the result in the first argument.

Parameters: lhs: A value to update with the union of bits set in the two arguments. rhs: Another value.

Declaration