I’m doing you a favor

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