setBit

Sets the bix:th bit of *a to one.

  1. void setBit(T a, I bixs)
  2. void setBit(T* a, I bixs)
  3. void setBit(T a, I bixs)
    @safe pure nothrow @nogc pragma(inline, true) @trusted
    void
    setBit
    (
    T
    I...
    )
    (
    ref T a
    ,)
    if (
    (!(isIntegral!T)) &&
    allSatisfy!(isIntegral, I)
    &&
    I.length >= 1
    )

Meta