version(StdDoc)

Tony tonytdominguez at aol.com
Fri Nov 23 21:47:51 UTC 2018


In std.compiler there is this code:

     /// Which vendor produced this compiler.
     version(StdDdoc)          Vendor vendor;
     else version(DigitalMars) Vendor vendor = Vendor.digitalMars;
     else version(GNU)         Vendor vendor = Vendor.gnu;
     else version(LDC)         Vendor vendor = Vendor.llvm;
     else version(D_NET)       Vendor vendor = Vendor.dotNET;
     else version(SDC)         Vendor vendor = Vendor.sdc;
     else                      Vendor vendor = Vendor.unknown;

What is the situation in which the identifier StdDoc is set?


More information about the Digitalmars-d-learn mailing list