D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Tue Feb 14 02:46:05 2012

# std.compiler

Identify the compiler used and its various features.

License:
Boost License 1.0.

Authors:
Walter Bright

Source:
std/compiler.d

immutable string name;
  Vendor specific string naming the compiler, for example: "Digital Mars D".

enum Vendor;
  Master list of D compiler vendors.

  unknown
    Compiler vendor could not be detected

  digitalMars
    Digital Mars D (DMD)

  gnu
    GNU D Compiler (GDC)

  llvm
    LLVM D Compiler (LDC)

  dotNET
    D.NET

  sdc
    Stupid D Compiler (SDC)

immutable Vendor vendor;
  Which vendor produced this compiler.

immutable uint version_major;
immutable uint version_minor;
  The vendor specific version number, as in version_major.version_minor

immutable uint D_major;
  The version of the D Programming Language Specification supported by the compiler.

Copyright Digital Mars 2000 - 2011. | Page generated by Ddoc.