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 |=(lhs: inout Int8, rhs: Int8)
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 |=(lhs: inout Int16, rhs: Int16)
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 |=(lhs: inout Int32, rhs: Int32)
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 |=(lhs: inout Int64, rhs: Int64)
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 |=(lhs: inout UInt, rhs: UInt)
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 |=(lhs: inout UInt8, rhs: UInt8)
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 |=(lhs: inout UInt16, rhs: UInt16)
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 |=(lhs: inout UInt32, rhs: UInt32)
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 |=(lhs: inout UInt64, rhs: UInt64)
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

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