# OperatorsΒΆ

The header <kitty/operators.hpp> implements operator shortcuts to operations.

Function
Description

operator~(tt)

Operator for unary_not.

operator~(tt)

Operator for unary_not.

operator&(first, second)

Operator for binary_and.

operator&(first, second)

Operator for binary_and.

operator&=(first, second)

Operator for binary_and and assign.

operator&=(first, second)

Operator for binary_and and assign.

operator|(first, second)

Operator for binary_or.

operator|(first, second)

Operator for binary_or.

operator|=(first, second)

Operator for binary_or and assign.

operator|=(first, second)

Operator for binary_or and assign.

operator^(first, second)

Operator for binary_xor.

operator^(first, second)

Operator for binary_xor.

operator^=(first, second)

Operator for binary_xor and assign.

operator^=(first, second)

Operator for binary_xor and assign.

operator==(first, second)

Operator for equal.

operator==(first, second)

Operator for equal.

operator!=(first, second)

Operator for not equals (!equal)

operator!=(first, second)

Operator for not equals (!equal)

operator<(first, second)

Operator for less_than.

operator<(first, second)

Operator for less_than.

operator<<(tt, shift)

Operator for left_shift.

operator<<(tt, shift)

Operator for left_shift.

operator<<=(tt, shift)

Operator for left_shift_inplace.

operator<<=(tt, shift)

Operator for left_shift_inplace.

operator>>(tt, shift)

Operator for right_shift.

operator>>(tt, shift)

Operator for right_shift.

operator>>=(tt, shift)

Operator for right_shift_inplace.

operator>>=(tt, shift)

Operator for right_shift_inplace.