BitFlags.opBinary

Tests (&), sets (|) or toggles (^) bits.

  1. BitFlags opBinary(E that)
  2. BitFlags opBinary(BitFlags that)
    struct BitFlags(E)
    const
    opBinary
    (
    string op
    )
    if (
    op == "&" ||
    op == "|"
    ||
    op == "^"
    )
  3. BitFlags opBinaryRight(E that)

Parameters

op

Operation.

that BitFlags

0 or more bit flags.

Return Value

Type: BitFlags

New $(D_PSYMBOL BitFlags) object.

Meta