Operator: prefix ~

operator prefix ~ { associativity precedence }

Declarations

prefix func ~(_: Int)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: Int) -> Int
prefix func ~(_: Int8)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: Int8) -> Int8
prefix func ~(_: Int16)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: Int16) -> Int16
prefix func ~(_: Int32)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: Int32) -> Int32
prefix func ~(_: Int64)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: Int64) -> Int64
prefix func ~(_: UInt)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: UInt) -> UInt
prefix func ~(_: UInt8)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: UInt8) -> UInt8
prefix func ~(_: UInt16)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: UInt16) -> UInt16
prefix func ~(_: UInt32)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: UInt32) -> UInt32
prefix func ~(_: UInt64)

Returns the inverse of the bits set in the argument.

See Also: BitwiseOperations

Declaration

prefix func ~(rhs: UInt64) -> UInt64
prefix func ~ <T where T : FixedWidthInteger>(_: T)

Declaration

prefix func ~<T where T : FixedWidthInteger>(x: T) -> T