I’m doing you a favor

  • @[email protected]
    link
    fedilink
    English
    1111 months ago

    Steadily increasing unsigned integer on a long-running piece of infrastructure: bonjour

      • @[email protected]
        link
        fedilink
        311 months ago
        LooooongCounter operator++(const LooooongCounter& c) {
            if(c.lowPart == ULONG_MAX) {
                c.highPart++;
                c.lowPart = 0;
            }
            else c.lowPart++;
        }