std.compiler
Identify the compiler used and its various features.
Copyright
Copyright The D Language Foundation 2000 - 2011.
enum Vendor
Types 1
enumVendor
Master list of D compiler vendors.
unknown = 0Compiler vendor could not be detected
digitalMars = 1Digital Mars D (DMD)
gnu = 2GNU D Compiler (GDC)
llvm = 3LLVM D Compiler (LDC)
dotNET = 4D.NET
sdc = 5Snazzy D Compiler (SDC)
Variables 5
var
string nameVendor specific string naming the compiler, for example: "Digital Mars D".
var
uint version_majorThe vendor specific version number, as in version_major.version_minor
var
uint version_minorvar
uint D_majorThe version of the D Programming Language Specification supported by the compiler.
var
uint D_minor