Why do I see double `not` operators sometimes in D code? An example it the last post of this thread.

http://forum.dlang.org/thread/ktlpnikvdwgbvfaam...@forum.dlang.org

import core.sys.windows.windows : GetConsoleCP;
bool hasConsole = !!GetConsoleCP();

Thanks.
  • W... Ryan via Digitalmars-d-learn
    • ... Xinok via Digitalmars-d-learn
      • ... Era Scarecrow via Digitalmars-d-learn
        • ... Is it possible to store different generic types? via Digitalmars-d-learn
          • ... Is it possible to store different generic types? via Digitalmars-d-learn
            • ... Ryan via Digitalmars-d-learn
              • ... Adam D. Ruppe via Digitalmars-d-learn
                • ... Patrick Schluter via Digitalmars-d-learn

Reply via email to